[前][次][番号順一覧][スレッド一覧]

ruby-changes:27562

From: nobu <ko1@a...>
Date: Wed, 6 Mar 2013 19:22:40 +0900 (JST)
Subject: [ruby-changes:27562] nobu:r39614 (trunk): configure.in: fix unexpand_shvar

nobu	2013-03-06 19:22:29 +0900 (Wed, 06 Mar 2013)

  New Revision: 39614

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39614

  Log:
    configure.in: fix unexpand_shvar
    
    * configure.in (unexpand_shvar): remove guarding quotes at last.

  Modified files:
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 39613)
+++ configure.in	(revision 39614)
@@ -3292,7 +3292,7 @@ unexpand_shvar() { https://github.com/ruby/ruby/blob/trunk/configure.in#L3292
 	fi
     done
     expr=['s/${[^${}"]*}/"&"/g;'"${expr};"'s/"\(\${[^${}"]*}\)"/\1/g']
-    eval $var='"`echo \"\\\"${'$var'}\\\"\" | sed \"$expr;s/\\\"\\\"//g;s/^\\\"//;s/\\\"\\\$//\"`"'
+    eval $var='"`echo \"\\\"${'$var'}\\\"\" | sed \"$expr;s/\\\"//g\"`"'
 }
 
 rubylibprefix='${libdir}/${RUBY_BASE_NAME}'

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]