commit 647511023d800bd4bdeba3b2964c48b1d734a582 Author: Robert Ransom rransom.8774@gmail.com Date: Mon Jan 30 00:47:13 2012 -0800
[Linux] Fix --help option of remove-shared-library-symlinks
Previously, the script would crash upon entering the outer if block (and trying to parse the inner if statement).
(Tcl requires that most non-operator strings in expressions be quoted.) --- build-scripts/remove-shared-lib-symlinks | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/build-scripts/remove-shared-lib-symlinks b/build-scripts/remove-shared-lib-symlinks index 4692625..c847a5e 100755 --- a/build-scripts/remove-shared-lib-symlinks +++ b/build-scripts/remove-shared-lib-symlinks @@ -34,7 +34,7 @@ if {$argc != 1 ||
puts -nonewline $usage_chan $usage
- if {$usage_chan eq stderr} { + if {$usage_chan eq "stderr"} { exit 2 } else { exit 0