pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/bulk Change the quoting to let this work with solar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9747b3fea75
branches:  trunk
changeset: 519381:c9747b3fea75
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Mon Oct 02 16:37:22 2006 +0000

description:
Change the quoting to let this work with solaris-2.9 /bin/sh.

The particular /bin/sh bug that was biting here is

  "${x}"/*/*/"$y"

doesn't expand the *'s if $y starts with a "." which, unfortunately, it
does.  Using

  "${x}"/*/*/$y

works correctly.

diffstat:

 mk/bulk/pre-build |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r a193cf260ef2 -r c9747b3fea75 mk/bulk/pre-build
--- a/mk/bulk/pre-build Mon Oct 02 16:26:54 2006 +0000
+++ b/mk/bulk/pre-build Mon Oct 02 16:37:22 2006 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: pre-build,v 1.60 2006/02/12 05:00:33 rillig Exp $
+# $NetBSD: pre-build,v 1.61 2006/10/02 16:37:22 dmcmahill Exp $
 #
 # Clean up system to be ready for bulk pkg build
 #
@@ -165,7 +165,7 @@
 # Clean up state files
 cd "${USR_PKGSRC}"
 echo "pre-build> Cleaning up leftover state files from previous runs"
-rm -f "${BULKFILESDIR}"/*/*/"$BROKENF" "${BULKFILESDIR}"/*/*/"$BRKWRKLOG" "${BULKFILESDIR}"/*/*/"$BLDLOG"
+rm -f "${BULKFILESDIR}"/*/*/$BROKENF "${BULKFILESDIR}"/*/*/$BRKWRKLOG "${BULKFILESDIR}"/*/*/$BLDLOG
 rm -f "${BULKFILESDIR}/$BROKENF" "${BULKFILESDIR}/$BRKWRKLOG" "${BULKFILESDIR}/$BLDLOG" "$STARTFILE"
 
 



Home | Main Index | Thread Index | Old Index