ruby-changes:27429
From: knu <ko1@a...>
Date: Mon, 25 Feb 2013 11:09:22 +0900 (JST)
Subject: [ruby-changes:27429] knu:r39481 (trunk): Fix ksh/bash-ism.
knu 2013-02-25 11:09:07 +0900 (Mon, 25 Feb 2013) New Revision: 39481 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39481 Log: Fix ksh/bash-ism. * configure.in (unexpand_shvar): Use the numeric comparison operator instead of '==' which is a ksh extention. [Bug #7941] Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 39480) +++ configure.in (revision 39481) @@ -3282,7 +3282,7 @@ shvar_to_cpp() { https://github.com/ruby/ruby/blob/trunk/configure.in#L3282 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'"' Index: ChangeLog =================================================================== --- ChangeLog (revision 39480) +++ ChangeLog (revision 39481) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Feb 25 11:03:38 2013 Akinori MUSHA <knu@i...> + + * configure.in (unexpand_shvar): Use the numeric comparison + operator instead of '==' which is a ksh extention. [Bug #7941] + Mon Feb 25 02:37:56 2013 Tanaka Akira <akr@f...> * ext/socket: define and use union_sockaddr instead of struct -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/