summaryrefslogtreecommitdiff
path: root/util/et/config_script
diff options
context:
space:
mode:
Diffstat (limited to 'util/et/config_script')
-rwxr-xr-xutil/et/config_script25
1 files changed, 0 insertions, 25 deletions
diff --git a/util/et/config_script b/util/et/config_script
deleted file mode 100755
index e3de35c..0000000
--- a/util/et/config_script
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-#
-# This program takes a shell script and configures for the following
-# variables: @DIR@
-# @AWK@
-# @SED@
-#
-# Usage: config_script <filename> [<awk>] [<sed>]
-#
-
-FILE=$1
-AWK=$2
-SED=$3
-
-# Grr.... not all Unix's have the dirname command
-TMP=`echo $1 | sed -e 's;[^/]*$;;' -e 's/^$/./'`
-DIR=`cd ${TMP}; pwd`
-
-if test "${AWK}x" = "x" ; then
- AWK=awk
-fi
-if test "${SED}x" = "x" ; then
- SED=sed
-fi
-sed -e "s;@DIR@;${DIR};" -e "s;@AWK@;${AWK};" -e "s;@SED@;${SED};" $FILE