diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-17 09:57:35 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-17 09:57:35 +0100 |
commit | f196c39e26f58a561f5c127cba0734f488612c5c (patch) | |
tree | 045da57395e4e1b4f71379c7fe78d3f18baa2684 /create_cdrom.sh | |
parent | afcf6e9a9d006a2697c92b1069af97708a281a36 (diff) | |
download | bootstrap32-f196c39e26f58a561f5c127cba0734f488612c5c.tar.xz |
fixed all shellcheck bugs
Diffstat (limited to 'create_cdrom.sh')
-rwxr-xr-x | create_cdrom.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/create_cdrom.sh b/create_cdrom.sh index 79164b1..d2330bb 100755 --- a/create_cdrom.sh +++ b/create_cdrom.sh @@ -1,5 +1,6 @@ #!/bin/sh +# shellcheck source=./default.conf . "./default.conf" # builds a small ISO image for installing a stage 1 system: @@ -11,7 +12,7 @@ sudo rm -rf $STAGE1_ISOLINUX mkdir $STAGE1_ISOLINUX sudo cp -a $STAGE1_CHROOT/* $STAGE1_ISOLINUX/. sudo chown -R cross:cross $STAGE1_ISOLINUX/. -cd $STAGE1_ISOLINUX +cd $STAGE1_ISOLINUX || exit 1 # simple ISOlinux menu, with options for fast choosing a root device mkdir boot/isolinux @@ -59,5 +60,5 @@ sudo cp /usr/lib/syslinux/bios/isolinux.bin boot/isolinux/. sudo genisoimage -J -r -o ../arch486.iso -b boot/isolinux/isolinux.bin \ -c boot/isolinux/boot.cat -input-charset UTF-8 -no-emul-boot \ -boot-load-size 4 -boot-info-table -joliet-long . -cd .. +cd .. || exit 1 |