File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 16
16
. @TCL_CONFIG_SH@
17
17
. @TK_CONFIG_SH@
18
18
19
- set |
20
- egrep ' ^TCL_|^TK_' |
21
- sed -e ' s/=/="/' -e ' s/$/"/' |
22
- while read v
19
+ cat @TCL_CONFIG_SH@ @TK_CONFIG_SH@ |
20
+ egrep ' ^TCL_|^TK_' |
21
+ while read inp
23
22
do
24
- eval " $v "
25
- v1=` echo $v | sed -e ' s/=.*//' `
26
- eval " echo $v1 = \"\$ $v1 \" "
23
+ eval eval echo $inp
27
24
done > Makefile.tcltkdefs
28
25
29
26
exit 0
Original file line number Diff line number Diff line change @@ -6,16 +6,11 @@ if [ ! -f @TCL_CONFIG_SH@ ]; then
6
6
exit 1
7
7
fi
8
8
9
- . @TCL_CONFIG_SH@
10
-
11
- set |
12
- egrep ' ^TCL_|^TK_' |
13
- sed -e ' s/=[ ]*/="/' -e ' s/[ ]*$/"/' |
14
- while read v
9
+ cat @TCL_CONFIG_SH@ |
10
+ egrep ' ^TCL_|^TK_' |
11
+ while read inp
15
12
do
16
- eval " $v "
17
- v1=` echo $v | sed -e ' s/=.*//' `
18
- eval " echo $v1 = \"\$ $v1 \" "
13
+ eval eval echo $inp
19
14
done > Makefile.tcldefs
20
15
21
16
exit 0
You can’t perform that action at this time.
0 commit comments