]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fixed func_split_equals shell quoting syntax error encountered with
authorBob Friesenhahn <bfriesen@simple.dallas.tx.us>
Sun, 21 Oct 2012 23:17:52 +0000 (18:17 -0500)
committerBob Friesenhahn <bfriesen@simple.dallas.tx.us>
Sun, 21 Oct 2012 23:17:52 +0000 (18:17 -0500)
non-XSI shells.  Problem was noticed under Solaris 10.

gl/build-aux/options-parser

index fbcbf1ba61c7f83ef92ce2664f1c56648cc3f90b..af460fd16776717c54b8e7c18f4e1ee0093bd714 100644 (file)
@@ -499,7 +499,7 @@ else
   {
       $debug_cmd
 
-      func_split_equals_lhs=`expr "x$1" : 'x\([^=]*)'`
+      func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
       func_split_equals_rhs=
       test "x$func_split_equals_lhs" = "x$1" \
         || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`