Fossil SCM
auto.def: change the invocation of 'exec /bin/sh' to 'exec sh' as a consolation for Unix-like-environments on Windows, where the former does not work but the latter does.
Commit
822a050d52619719a8ae091da3dfc09c9d5e43ae08ad93d164696905478ae310
Parent
935cd45f03304fe…
1 file changed
+1
-1
M
auto.def
+1
-1
| --- auto.def | ||
| +++ auto.def | ||
| @@ -96,11 +96,11 @@ | ||
| 96 | 96 | cc-check-progs tclsh |
| 97 | 97 | set hbtd /usr/local/Cellar/tcl-tk |
| 98 | 98 | if {[string equal false [get-define TCLSH]]} { |
| 99 | 99 | msg-result "WARNING: 'make test' will not run here." |
| 100 | 100 | } else { |
| 101 | - set v [exec /bin/sh -c "echo 'puts \$tcl_version' | tclsh"] | |
| 101 | + set v [exec sh -c "echo 'puts \$tcl_version' | tclsh"] | |
| 102 | 102 | if {[expr {$v >= 8.6}]} { |
| 103 | 103 | msg-result "Found Tclsh version $v in the PATH." |
| 104 | 104 | define TCLSH tclsh |
| 105 | 105 | } elseif {[file isdirectory $hbtd]} { |
| 106 | 106 | # This is a macOS system with the Homebrew version of Tcl/Tk |
| 107 | 107 |
| --- auto.def | |
| +++ auto.def | |
| @@ -96,11 +96,11 @@ | |
| 96 | cc-check-progs tclsh |
| 97 | set hbtd /usr/local/Cellar/tcl-tk |
| 98 | if {[string equal false [get-define TCLSH]]} { |
| 99 | msg-result "WARNING: 'make test' will not run here." |
| 100 | } else { |
| 101 | set v [exec /bin/sh -c "echo 'puts \$tcl_version' | tclsh"] |
| 102 | if {[expr {$v >= 8.6}]} { |
| 103 | msg-result "Found Tclsh version $v in the PATH." |
| 104 | define TCLSH tclsh |
| 105 | } elseif {[file isdirectory $hbtd]} { |
| 106 | # This is a macOS system with the Homebrew version of Tcl/Tk |
| 107 |
| --- auto.def | |
| +++ auto.def | |
| @@ -96,11 +96,11 @@ | |
| 96 | cc-check-progs tclsh |
| 97 | set hbtd /usr/local/Cellar/tcl-tk |
| 98 | if {[string equal false [get-define TCLSH]]} { |
| 99 | msg-result "WARNING: 'make test' will not run here." |
| 100 | } else { |
| 101 | set v [exec sh -c "echo 'puts \$tcl_version' | tclsh"] |
| 102 | if {[expr {$v >= 8.6}]} { |
| 103 | msg-result "Found Tclsh version $v in the PATH." |
| 104 | define TCLSH tclsh |
| 105 | } elseif {[file isdirectory $hbtd]} { |
| 106 | # This is a macOS system with the Homebrew version of Tcl/Tk |
| 107 |