summaryrefslogtreecommitdiffstats
path: root/scripts/buildinstall
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/buildinstall')
-rwxr-xr-xscripts/buildinstall4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/buildinstall b/scripts/buildinstall
index 9852ecdfd..88707b9f2 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -19,7 +19,7 @@ BUILDARCH=`rpm -qp --qf "%{ARCH}" $p/RedHat/RPMS/anaconda-runtime-[0-9]*`
if [ ! -f $UPD_INSTROOT ]; then
cd $BUILDINSTDIR
- rpm2cpio $p/RedHat/RPMS/anaconda-runtime-[0-9]* | cpio --quiet -iumd usr/lib/anaconda-runtime/upd-instroot
+ rpm2cpio $p/RedHat/RPMS/anaconda-runtime-[0-9]* | cpio --quiet -iumd ./usr/lib/anaconda-runtime/upd-instroot usr/lib/anaconda-runtime/upd-instroot
mv usr/lib/anaconda-runtime/upd-instroot .
rm -rf usr
else
@@ -29,7 +29,7 @@ UPD_INSTROOT=$BUILDINSTDIR/upd-instroot
if [ ! -f $MK_IMAGES ]; then
cd $BUILDINSTDIR
- rpm2cpio $p/RedHat/RPMS/anaconda-runtime-[0-9]* | cpio --quiet -iumd usr/lib/anaconda-runtime/mk-images*
+ rpm2cpio $p/RedHat/RPMS/anaconda-runtime-[0-9]* | cpio --quiet -iumd ./usr/lib/anaconda-runtime/mk-images* usr/lib/anaconda-runtime/mk-images*
mv usr/lib/anaconda-runtime/mk-images* .
rm -rf usr
else