summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mk-images.i3868
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/mk-images.i386 b/scripts/mk-images.i386
index 601d8f72f..2627bac1e 100644
--- a/scripts/mk-images.i386
+++ b/scripts/mk-images.i386
@@ -18,11 +18,11 @@ prepareBootImage() {
if [ -d $BOOTDISKDIR/$BOOTLANG ]; then
# fb console and kon don't get along...
if [ "$BOOTLANG" = "ja_JP" ]; then
- sed -e "s/ vga=.*//g" < $MBD_BOOTTREE/syslinux.cfg > $MBD_BOOTTREE/syslinux.cfg-
- mv -f $MBD_BOOTTREE/syslinux.cfg- $MBD_BOOTTREE/syslinux.cfg
+ sed -e "s/ vga=.*//g" < $MBD_BOOTTREE/syslinux.cfg > $MBD_BOOTTREE/syslinux.cf2
+ mv -f $MBD_BOOTTREE/syslinux.cf2 $MBD_BOOTTREE/syslinux.cfg
fi
- sed -e "s/initrd.img/initrd.img lang=$BOOTLANG/g" < $MBD_BOOTTREE/syslinux.cfg > $MBD_BOOTTREE/syslinux.cfg-
- mv -f $MBD_BOOTTREE/syslinux.cfg- $MBD_BOOTTREE/syslinux.cfg
+ sed -e "s/initrd.img/initrd.img lang=$BOOTLANG/g" < $MBD_BOOTTREE/syslinux.cfg > $MBD_BOOTTREE/syslinux.cf2
+ mv -f $MBD_BOOTTREE/syslinux.cf2 $MBD_BOOTTREE/syslinux.cfg
cp $BOOTDISKDIR/$BOOTLANG/*.msg $MBD_BOOTTREE
if [ $? != 0 ]; then
echo $0: Failed to copy messages from $BOOTDISKDIR/$BOOTLANG to $MBD_BOOTTREE.