Fixed func_split_equals shell quoting syntax error encountered with

non-XSI shells.  Problem was noticed under Solaris 10.
This commit is contained in:
Bob Friesenhahn 2012-10-21 18:17:52 -05:00
parent d98a30fbce
commit c82eaf360b

View 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[^=]*=\(.*\)$'`