summaryrefslogtreecommitdiff
path: root/src/pl
diff options
context:
space:
mode:
authorBruce Momjian1998-10-12 04:45:22 +0000
committerBruce Momjian1998-10-12 04:45:22 +0000
commit0f78649cccbe5f3e5a18f64a95f23baf76ef19e4 (patch)
treeb96316956a6c58a35ee0fc1b3b90f489728e314f /src/pl
parent2facf5460ff809d9bf9bd66acbf3062fa51a5e2b (diff)
Cleanup from Billy.
Diffstat (limited to 'src/pl')
-rw-r--r--src/pl/tcl/mkMakefile.tcldefs.sh.in13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/pl/tcl/mkMakefile.tcldefs.sh.in b/src/pl/tcl/mkMakefile.tcldefs.sh.in
index 940eb04928c..ea86a233371 100644
--- a/src/pl/tcl/mkMakefile.tcldefs.sh.in
+++ b/src/pl/tcl/mkMakefile.tcldefs.sh.in
@@ -6,16 +6,11 @@ if [ ! -f @TCL_CONFIG_SH@ ]; then
exit 1
fi
-. @TCL_CONFIG_SH@
-
-set |
- egrep '^TCL_|^TK_' |
- sed -e 's/=[ ]*/="/' -e 's/[ ]*$/"/' |
- while read v
+cat @TCL_CONFIG_SH@ |
+ egrep '^TCL_|^TK_' |
+ while read inp
do
- eval "$v"
- v1=`echo $v | sed -e 's/=.*//'`
- eval "echo $v1 = \"\$$v1\""
+ eval eval echo $inp
done >Makefile.tcldefs
exit 0