Fossil SCM

Minor fix to autosetup so that it works on Solaris when using jimsh0.

drh 2012-02-10 02:08 trunk
Commit ced22eb209f462a9a7d17a66a9be867c5d297ead
1 file changed +1 -1
--- autosetup/find-tclsh
+++ autosetup/find-tclsh
@@ -1,10 +1,10 @@
11
#!/bin/sh
22
# Looks for a suitable tclsh or jimsh in the PATH
33
# If not found, builds a bootstrap jimsh from source
44
d=`dirname "$0"`
5
-PATH="$PATH:$d"
5
+PATH="$PATH:$d"; export PATH
66
for tclsh in jimsh tclsh tclsh8.5 tclsh8.6 jimsh0; do
77
{ $tclsh "$d/test-tclsh"; } 2>/dev/null && exit 0
88
done
99
echo 1>&2 "No installed jimsh or tclsh, building local bootstrap jimsh0"
1010
for cc in ${CC_FOR_BUILD:-cc} gcc; do
1111
--- autosetup/find-tclsh
+++ autosetup/find-tclsh
@@ -1,10 +1,10 @@
1 #!/bin/sh
2 # Looks for a suitable tclsh or jimsh in the PATH
3 # If not found, builds a bootstrap jimsh from source
4 d=`dirname "$0"`
5 PATH="$PATH:$d"
6 for tclsh in jimsh tclsh tclsh8.5 tclsh8.6 jimsh0; do
7 { $tclsh "$d/test-tclsh"; } 2>/dev/null && exit 0
8 done
9 echo 1>&2 "No installed jimsh or tclsh, building local bootstrap jimsh0"
10 for cc in ${CC_FOR_BUILD:-cc} gcc; do
11
--- autosetup/find-tclsh
+++ autosetup/find-tclsh
@@ -1,10 +1,10 @@
1 #!/bin/sh
2 # Looks for a suitable tclsh or jimsh in the PATH
3 # If not found, builds a bootstrap jimsh from source
4 d=`dirname "$0"`
5 PATH="$PATH:$d"; export PATH
6 for tclsh in jimsh tclsh tclsh8.5 tclsh8.6 jimsh0; do
7 { $tclsh "$d/test-tclsh"; } 2>/dev/null && exit 0
8 done
9 echo 1>&2 "No installed jimsh or tclsh, building local bootstrap jimsh0"
10 for cc in ${CC_FOR_BUILD:-cc} gcc; do
11

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button