summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-08-02 22:42:37 +0000
committerJeremy Katz <katzj@redhat.com>2004-08-02 22:42:37 +0000
commit867da203da8603a93065ee40eecd0ef83c9cab46 (patch)
tree3e9ee3ff3052b80096775a27b6e3a38e09150c24 /scripts
parent67406e0d8f111f3b561edbcfaa1db028b1d9e699 (diff)
nuke debugging, hopefully this fixes things for bash 3
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/upd-instroot5
1 files changed, 2 insertions, 3 deletions
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