From: Alexandre Oliva Date: Tue, 1 Aug 2000 04:28:07 +0000 (+0000) Subject: * ltmain.in (shtool): Use echo|grep instead of expr, as in the X-Git-Tag: release-1-3d~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94c658f565a9373f5141a9a553c2aa5390c76922;p=thirdparty%2Flibtool.git * ltmain.in (shtool): Use echo|grep instead of expr, as in the original patch. --- diff --git a/ChangeLog b/ChangeLog index f47e930d4..df1e1c3a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-08-01 Alexandre Oliva + + * ltmain.in (shtool): Use echo|grep instead of expr, as in the + original patch. + 2000-08-01 Alexandre Oliva * ltconfig.in (need_lc): Fix test message. diff --git a/ltmain.in b/ltmain.in index db85810ae..6afa74e1b 100644 --- a/ltmain.in +++ b/ltmain.in @@ -3828,7 +3828,7 @@ relink_command=\"$relink_command\"" # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. - expr "X$nonopt" : "X.*shtool.*" > /dev/null; then + $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then # Aesthetically quote it. arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` case "$arg" in