Fossil SCM
Minor fix to autosetup so that it works on Solaris when using jimsh0.
Commit
ced22eb209f462a9a7d17a66a9be867c5d297ead
Parent
9b1d394a719f00f…
1 file changed
+1
-1
+1
-1
| --- autosetup/find-tclsh | ||
| +++ autosetup/find-tclsh | ||
| @@ -1,10 +1,10 @@ | ||
| 1 | 1 | #!/bin/sh |
| 2 | 2 | # Looks for a suitable tclsh or jimsh in the PATH |
| 3 | 3 | # If not found, builds a bootstrap jimsh from source |
| 4 | 4 | d=`dirname "$0"` |
| 5 | -PATH="$PATH:$d" | |
| 5 | +PATH="$PATH:$d"; export PATH | |
| 6 | 6 | for tclsh in jimsh tclsh tclsh8.5 tclsh8.6 jimsh0; do |
| 7 | 7 | { $tclsh "$d/test-tclsh"; } 2>/dev/null && exit 0 |
| 8 | 8 | done |
| 9 | 9 | echo 1>&2 "No installed jimsh or tclsh, building local bootstrap jimsh0" |
| 10 | 10 | for cc in ${CC_FOR_BUILD:-cc} gcc; do |
| 11 | 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" |
| 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 |