From 867da203da8603a93065ee40eecd0ef83c9cab46 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Mon, 2 Aug 2004 22:42:37 +0000 Subject: nuke debugging, hopefully this fixes things for bash 3 --- scripts/upd-instroot | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 60fa10472..a8520f0d2 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -2,7 +2,7 @@ ORIGDIR=`pwd` COMPONENT="" -DEBUG=1 +DEBUG="" if [ "$1" == "--debug" ]; then DEBUG="--debug" @@ -60,8 +60,7 @@ prunePackageList() { PACKAGEFILES="" for PKG in $PACKAGES; do PATTERN="${PATTERN:+${PATTERN}|}(^$PKG )" - PACKAGEFILES="$PACKAGEFILES $(ls $PACKAGEPATH/${PKG}*{${ARCH},noarch}.rpm 2>/dev/null)" - echo "pkg is $PKG, pattern is $PATTERN, packagefiles is $PACKAGEFILES" + PACKAGEFILES="$PACKAGEFILES $(ls $PACKAGEPATH/$PKG*{$ARCH,noarch}.rpm 2>/dev/null)" done # gtk+, enough said -- cgit