diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-25 02:09:07 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-25 02:09:07 +0000 |
commit | 6487abea6ca358d72dccc4645eab06e878f212df (patch) | |
tree | 0c5703233878c98b593672a85aa9b7af5642140d /configure.in | |
parent | 1a76bf3911669fea4919867fca6452f6e4b93776 (diff) |
Fix ksh/bash-ism.
* configure.in (unexpand_shvar): Use the numeric comparison
operator instead of '==' which is a ksh extention. [Bug #7941]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index be7d4feb45..5fdac50fdc 100644 --- a/configure.in +++ b/configure.in @@ -3282,7 +3282,7 @@ shvar_to_cpp() { unexpand_shvar() { local var=$1 val n v expr quote shift - test "$#" == 0 && return + test "$#" -eq 0 && return quote=['s/${[^${}"]*}/"&"/g'] for n do eval v='"$'$n'"' |