summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/fixpaths
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/fixpaths')
-rwxr-xr-xcrypto/openssh/fixpaths22
1 files changed, 0 insertions, 22 deletions
diff --git a/crypto/openssh/fixpaths b/crypto/openssh/fixpaths
deleted file mode 100755
index 60a6799..0000000
--- a/crypto/openssh/fixpaths
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-#
-# fixpaths - substitute makefile variables into text files
-# Usage: fixpaths -Dsomething=somethingelse ...
-
-die() {
- echo $*
- exit -1
-}
-
-test -n "`echo $1|grep -- -D`" || \
- die $0: nothing to do - no substitutions listed!
-
-test -n "`echo $1|grep -- '-D[^=]\+=[^ ]\+'`" || \
- die $0: error in command line arguments.
-
-test -n "`echo $*|grep -- ' [^-]'`" || \
- die Usage: $0 '[-Dstring=replacement] [[infile] ...]'
-
-sed `echo $*|sed -e 's/-D\([^=]\+\)=\([^ ]*\)/-e s=\1=\2=g/g'`
-
-exit 0
OpenPOWER on IntegriCloud