From f196c39e26f58a561f5c127cba0734f488612c5c Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 17 Feb 2018 09:57:35 +0100 Subject: fixed all shellcheck bugs --- create_cdrom.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'create_cdrom.sh') 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 -- cgit v1.2.3-54-g00ecf