提交 0f78649c 编写于 作者: B Bruce Momjian

Cleanup from Billy.

上级 2facf546
......@@ -16,14 +16,11 @@ fi
. @TCL_CONFIG_SH@
. @TK_CONFIG_SH@
set |
egrep '^TCL_|^TK_' |
sed -e 's/=/="/' -e 's/$/"/' |
while read v
cat @TCL_CONFIG_SH@ @TK_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.tcltkdefs
exit 0
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册