Commit 0f78649c authored by Bruce Momjian's avatar Bruce Momjian

Cleanup from Billy.

parent 2facf546
...@@ -16,14 +16,11 @@ fi ...@@ -16,14 +16,11 @@ fi
. @TCL_CONFIG_SH@ . @TCL_CONFIG_SH@
. @TK_CONFIG_SH@ . @TK_CONFIG_SH@
set | cat @TCL_CONFIG_SH@ @TK_CONFIG_SH@ |
egrep '^TCL_|^TK_' | egrep '^TCL_|^TK_' |
sed -e 's/=/="/' -e 's/$/"/' | while read inp
while read v
do do
eval "$v" eval eval echo $inp
v1=`echo $v | sed -e 's/=.*//'`
eval "echo $v1 = \"\$$v1\""
done >Makefile.tcltkdefs done >Makefile.tcltkdefs
exit 0 exit 0
...@@ -6,16 +6,11 @@ if [ ! -f @TCL_CONFIG_SH@ ]; then ...@@ -6,16 +6,11 @@ if [ ! -f @TCL_CONFIG_SH@ ]; then
exit 1 exit 1
fi fi
. @TCL_CONFIG_SH@ cat @TCL_CONFIG_SH@ |
egrep '^TCL_|^TK_' |
set | while read inp
egrep '^TCL_|^TK_' |
sed -e 's/=[ ]*/="/' -e 's/[ ]*$/"/' |
while read v
do do
eval "$v" eval eval echo $inp
v1=`echo $v | sed -e 's/=.*//'`
eval "echo $v1 = \"\$$v1\""
done >Makefile.tcldefs done >Makefile.tcldefs
exit 0 exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment