diff --git a/bochs.sh b/bochs.sh index 9c837022..0dfb696a 100755 --- a/bochs.sh +++ b/bochs.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e BOCHS_CONFIG_FILE=bochsrc diff --git a/image-full.sh b/image-full.sh index 005d54a5..414a90be 100755 --- a/image-full.sh +++ b/image-full.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e DISK_SIZE=$[50 * 1024 * 1024] diff --git a/image.sh b/image.sh index 8addf6e4..ab03fa66 100755 --- a/image.sh +++ b/image.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e if [ ! -f $DISK_IMAGE_PATH ]; then diff --git a/install-usb.sh b/install-usb.sh index 6bad2ad9..126b3417 100755 --- a/install-usb.sh +++ b/install-usb.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e SIZE=$(stat -c '%s' banan-os.img | numfmt --to=iec) diff --git a/linecount.sh b/linecount.sh index c8158b98..8b181448 100755 --- a/linecount.sh +++ b/linecount.sh @@ -1,3 +1,3 @@ -#!/bin/sh +#!/bin/bash find . | grep -vE '(build|toolchain)' | grep -E '\.(cpp|h|S)$' | xargs wc -l | sort -n diff --git a/qemu.sh b/qemu.sh index 2219afd4..e91af335 100755 --- a/qemu.sh +++ b/qemu.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e qemu-system-$BANAN_ARCH \ diff --git a/toolchain/build.sh b/toolchain/build.sh index 5524bb22..c596d085 100755 --- a/toolchain/build.sh +++ b/toolchain/build.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e BINUTILS_VERSION="binutils-2.39" diff --git a/userspace/create_program.sh b/userspace/create_program.sh index 2b25b782..7efa30d0 100755 --- a/userspace/create_program.sh +++ b/userspace/create_program.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e