From 9307af5faa9080ba33ab56e5b2c461df92801bdf Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 16 Sep 2002 19:06:41 +0000 Subject: Add a missing shell wildcard which was causing the expression to not catch arguments with symbols that are special to the shell. --- mk/buildlink2/libtool.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk') diff --git a/mk/buildlink2/libtool.sh b/mk/buildlink2/libtool.sh index 5d3b8ad9980..a788f8f2dac 100644 --- a/mk/buildlink2/libtool.sh +++ b/mk/buildlink2/libtool.sh @@ -1,6 +1,6 @@ #!@BUILDLINK_SHELL@ # -# $NetBSD: libtool.sh,v 1.2 2002/08/22 08:21:29 jlam Exp $ +# $NetBSD: libtool.sh,v 1.3 2002/09/16 19:06:41 jlam Exp $ Xsed='@SED@ -e 1s/^X//' sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g' @@ -34,7 +34,7 @@ while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do arg="$1"; shift case $arg in - *[\`\"\$\\]) + *[\`\"\$\\]*) arg=`@ECHO@ X$arg | \ $Xsed -e "$sed_quote_subst" \ ` -- cgit v1.2.3