pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/buildlink3 "for arg; do" -> "for arg do", as the la...
details: https://anonhg.NetBSD.org/pkgsrc/rev/635b3f1a40df
branches: trunk
changeset: 466075:635b3f1a40df
user: grant <grant%pkgsrc.org@localhost>
date: Sun Jan 11 03:30:20 2004 +0000
description:
"for arg; do" -> "for arg do", as the latter is more portable. fixes
buildlink3's wrappers on Solaris.
diffstat:
mk/buildlink3/gen-transform.sh | 4 ++--
mk/buildlink3/libtool.sh | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (40 lines):
diff -r 843619b5c74a -r 635b3f1a40df mk/buildlink3/gen-transform.sh
--- a/mk/buildlink3/gen-transform.sh Sun Jan 11 02:26:30 2004 +0000
+++ b/mk/buildlink3/gen-transform.sh Sun Jan 11 03:30:20 2004 +0000
@@ -1,6 +1,6 @@
#!@BUILDLINK_SHELL@
#
-# $NetBSD: gen-transform.sh,v 1.9 2004/01/07 07:10:05 jlam Exp $
+# $NetBSD: gen-transform.sh,v 1.10 2004/01/11 03:30:20 grant Exp $
transform="@_BLNK_TRANSFORM_SEDFILE@"
untransform="@_BLNK_UNTRANSFORM_SEDFILE@"
@@ -220,7 +220,7 @@
esac
}
-for arg; do
+for arg do
case $arg in
transform:*)
gen transform "${arg#transform:}"
diff -r 843619b5c74a -r 635b3f1a40df mk/buildlink3/libtool.sh
--- a/mk/buildlink3/libtool.sh Sun Jan 11 02:26:30 2004 +0000
+++ b/mk/buildlink3/libtool.sh Sun Jan 11 03:30:20 2004 +0000
@@ -1,6 +1,6 @@
#!@BUILDLINK_SHELL@
#
-# $NetBSD: libtool.sh,v 1.9 2003/11/26 12:52:30 jlam Exp $
+# $NetBSD: libtool.sh,v 1.10 2004/01/11 03:30:20 grant Exp $
Xsed='@SED@ -e 1s/^X//'
sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
@@ -45,7 +45,7 @@
prevopt=
nonopt=
lafile=
-for arg; do
+for arg do
case $arg in
-*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
Home |
Main Index |
Thread Index |
Old Index