summaryrefslogtreecommitdiffstats
path: root/scripts/buildinstall
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-03-06 17:49:30 -0500
committerJeremy Katz <katzj@redhat.com>2008-03-06 17:49:57 -0500
commit7075b30456c4a22179714812dcc7e210518e23f7 (patch)
treefedd72a636cffaf7f66931dac992de5f88e560f3 /scripts/buildinstall
parent67d6e6bb1980204257be17738b1c4f5522ec72de (diff)
downloadanaconda-7075b30456c4a22179714812dcc7e210518e23f7.tar.gz
anaconda-7075b30456c4a22179714812dcc7e210518e23f7.tar.xz
anaconda-7075b30456c4a22179714812dcc7e210518e23f7.zip
Don't use the bits from $UPDATES unless $UPDATES exists
Diffstat (limited to 'scripts/buildinstall')
-rwxr-xr-xscripts/buildinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildinstall b/scripts/buildinstall
index 624d18a5a..ce245479a 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -142,7 +142,7 @@ MK_STAMP=./makestamp.py
BUILDINSTALL=./buildinstall
for f in $UPD_INSTROOT $MK_IMAGES $MK_STAMP $MK_TREEINFO $BUILDINSTALL; do
- if [ -f $UPDATES/usr/lib/anaconda-runtime/$f ]; then
+ if [ -n "UPDATES" -a -f $UPDATES/usr/lib/anaconda-runtime/$f ]; then
cp -a $UPDATES/usr/lib/anaconda-runtime/$f* $BUILDINSTDIR/
elif [ ! -f $f ]; then
cp -a $BUILDINSTDIR/usr/lib/anaconda-runtime/$f* $BUILDINSTDIR/