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 b5ced2422..49a6497f5 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -15,7 +15,7 @@ MK_IMAGES=./mk-images
if [ ! -f $UPD_INSTROOT ]; then
cd $BUILDINSTDIR
- rpm2cpio < $1/RedHat/RPMS/anaconda-runtime[0-9]* | cpio -ivumd usr/lib/anaconda-runtime/upd-instroot
+ rpm2cpio < $1/RedHat/RPMS/anaconda-runtime-[0-9]* | cpio -ivumd usr/lib/anaconda-runtime/upd-instroot
mv usr/lib/anaconda-runtime/upd-instroot .
rm -rf usr
UPD_INSTROOT=$BUILDINSTDIR/upd-instroot
@@ -23,7 +23,7 @@ fi
if [ ! -f $MK_IMAGES ]; then
cd $BUILDINSTDIR
- rpm2cpio < $1/RedHat/RPMS/anaconda-runtime[0-9]* | cpio -ivumd usr/lib/anaconda-runtime/mk-images
+ rpm2cpio < $1/RedHat/RPMS/anaconda-runtime[0-9]-* | cpio -ivumd usr/lib/anaconda-runtime/mk-images
mv usr/lib/anaconda-runtime/mk-images .
rm -rf usr
UPD_INSTROOT=$MK_IMAGES/mk-images