summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images.i386
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-02-12 23:51:33 +0000
committerMatt Wilson <msw@redhat.com>2001-02-12 23:51:33 +0000
commitc335edbce49453ea2241c568f4e7abe7274b4c80 (patch)
treed6622ab96cbf387467946430b7b086a5390d14cf /scripts/mk-images.i386
parent8e5edd144ef7e5c27cde9cabbde2e7ca1cfcd72c (diff)
downloadanaconda-c335edbce49453ea2241c568f4e7abe7274b4c80.tar.gz
anaconda-c335edbce49453ea2241c568f4e7abe7274b4c80.tar.xz
anaconda-c335edbce49453ea2241c568f4e7abe7274b4c80.zip
pass the right lang=
Diffstat (limited to 'scripts/mk-images.i386')
-rw-r--r--scripts/mk-images.i3864
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mk-images.i386 b/scripts/mk-images.i386
index 8dfdd481b..694b3a42c 100644
--- a/scripts/mk-images.i386
+++ b/scripts/mk-images.i386
@@ -21,8 +21,8 @@ prepareBootImage() {
sed -e "s/ vga=.*//g" < $MBD_BOOTTREE/syslinux.cfg > $MBD_BOOTTREE/syslinux.cf2
mv -f $MBD_BOOTTREE/syslinux.cf2 $MBD_BOOTTREE/syslinux.cfg
fi
- if [ -n $BOOTLANG ]; then
- sed -e "s/initrd.img/initrd.img lang=$BOOTLANG/g" < $MBD_BOOTTREE/syslinux.cfg > $MBD_BOOTTREE/syslinux.cf2
+ if [ -n $BOOTDIR ]; then
+ sed -e "s/initrd.img/initrd.img lang=$BOOTDIR/g" < $MBD_BOOTTREE/syslinux.cfg > $MBD_BOOTTREE/syslinux.cf2
mv -f $MBD_BOOTTREE/syslinux.cf2 $MBD_BOOTTREE/syslinux.cfg
fi
cp $BOOTDISKDIR/$BOOTLANG/*.msg $MBD_BOOTTREE