diff options
author | Jeremy Katz <katzj@redhat.com> | 2008-03-06 17:49:30 -0500 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2008-03-06 17:49:57 -0500 |
commit | 7075b30456c4a22179714812dcc7e210518e23f7 (patch) | |
tree | fedd72a636cffaf7f66931dac992de5f88e560f3 /scripts/buildinstall | |
parent | 67d6e6bb1980204257be17738b1c4f5522ec72de (diff) | |
download | anaconda-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-x | scripts/buildinstall | 2 |
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/ |