diff options
author | Steve Bennett <steveb@workware.net.au> | 2021-04-09 08:06:23 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2021-04-09 08:07:16 +1000 |
commit | 4a5392ef726b2ab4f750df5cae471699bc809b05 (patch) | |
tree | 0e6e9cc0091fab03343654ea96726a653a42e1d9 | |
parent | 3703a49423578649b67abe0e0457842e4ff911a2 (diff) | |
download | jimtcl-4a5392ef726b2ab4f750df5cae471699bc809b05.zip jimtcl-4a5392ef726b2ab4f750df5cae471699bc809b05.tar.gz jimtcl-4a5392ef726b2ab4f750df5cae471699bc809b05.tar.bz2 |
build: update autosetup for AUTOREMAKE fix
In case the path to configure contains spaces.
v0.7.0-6-g8e7e397
Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r-- | autosetup/README.autosetup | 2 | ||||
-rwxr-xr-x | autosetup/autosetup | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/autosetup/README.autosetup b/autosetup/README.autosetup index e2da6f5..37958d3 100644 --- a/autosetup/README.autosetup +++ b/autosetup/README.autosetup @@ -8,4 +8,4 @@ can be loaded with the 'use' directive. *.auto files in this directory are auto-loaded. -For more information, see http://msteveb.github.com/autosetup/ +For more information, see http://msteveb.github.io/autosetup/ diff --git a/autosetup/autosetup b/autosetup/autosetup index 4f9f345..600d3f2 100755 --- a/autosetup/autosetup +++ b/autosetup/autosetup @@ -214,7 +214,7 @@ proc main {argv} { } } define CONFIGURE_OPTS [join $configure_opts] - define AUTOREMAKE [file-normalize $autosetup(exe)] + define AUTOREMAKE [quote-if-needed $autosetup(exe)] define-append AUTOREMAKE [get-define CONFIGURE_OPTS] @@ -570,7 +570,7 @@ proc options-show {what} { } set max [max $max [string length $opt]] } - set indent [string repeat " " [expr $max+4]] + set indent [string repeat " " [expr {$max+4}]] set cols [getenv COLUMNS 80] catch { lassign [exec stty size] rows cols @@ -596,7 +596,7 @@ proc options-show {what} { # Output a pre-formatted help description as-is puts $desc } else { - options-wrap-desc [string trim $desc] $cols " " $indent [expr $max + 2] + options-wrap-desc [string trim $desc] $cols " " $indent [expr {$max+2}] } } } @@ -1453,7 +1453,7 @@ proc autosetup_help {what} { puts "Usage: [file tail $::autosetup(exe)] \[options\] \[settings\]\n" puts "This is [autosetup_version], a build environment \"autoconfigurator\"" - puts "See the documentation online at http://msteveb.github.com/autosetup/\n" + puts "See the documentation online at http://msteveb.github.io/autosetup/\n" if {$what in {all local}} { # Need to load auto.def now @@ -1930,7 +1930,7 @@ can be loaded with the 'use' directive. *.auto files in this directory are auto-loaded. -For more information, see http://msteveb.github.com/autosetup/ +For more information, see http://msteveb.github.io/autosetup/ } dputs "install: autosetup/README.autosetup" writefile $target $readme |