diff options
| author | Matt Wilson <msw@redhat.com> | 2001-02-12 23:51:33 +0000 |
|---|---|---|
| committer | Matt Wilson <msw@redhat.com> | 2001-02-12 23:51:33 +0000 |
| commit | c335edbce49453ea2241c568f4e7abe7274b4c80 (patch) | |
| tree | d6622ab96cbf387467946430b7b086a5390d14cf /scripts | |
| parent | 8e5edd144ef7e5c27cde9cabbde2e7ca1cfcd72c (diff) | |
pass the right lang=
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/mk-images.i386 | 4 |
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 |
