1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-27 22:56:53 +03:00

Cleanup from Billy.

This commit is contained in:
Bruce Momjian 1998-10-12 04:45:22 +00:00
parent 2facf5460f
commit 0f78649ccc
2 changed files with 8 additions and 16 deletions

View File

@ -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

View File

@ -6,16 +6,11 @@ if [ ! -f @TCL_CONFIG_SH@ ]; then
exit 1 exit 1
fi fi
. @TCL_CONFIG_SH@ cat @TCL_CONFIG_SH@ |
set |
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.tcldefs done >Makefile.tcldefs
exit 0 exit 0