summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-16 19:06:41 +0000
committerjlam <jlam@pkgsrc.org>2002-09-16 19:06:41 +0000
commit9307af5faa9080ba33ab56e5b2c461df92801bdf (patch)
tree8308375b9594a953411ab9740b612727f9da0e35
parent34aca00b6b0685d9ecab614214ec1e7c60dcce3c (diff)
downloadpkgsrc-9307af5faa9080ba33ab56e5b2c461df92801bdf.tar.gz
Add a missing shell wildcard which was causing the expression to not
catch arguments with symbols that are special to the shell.
-rw-r--r--mk/buildlink2/libtool.sh4
1 files changed, 2 insertions, 2 deletions
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" \
`