diff --git a/Meta/build-image-extlinux.sh b/Meta/build-image-extlinux.sh index a45ab45689..f6af37224b 100755 --- a/Meta/build-image-extlinux.sh +++ b/Meta/build-image-extlinux.sh @@ -8,7 +8,7 @@ script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) if [ "$(id -u)" != 0 ]; then set +e - ${SUDO} "${SHELL}" -c -- "\"$0\" $* || exit 42" + ${SUDO} -- "${SHELL}" -c "\"$0\" $* || exit 42" case $? in 1) die "this script needs to run as root" diff --git a/Meta/build-image-grub.sh b/Meta/build-image-grub.sh index 6d26e3a3e6..89e8d0ab07 100755 --- a/Meta/build-image-grub.sh +++ b/Meta/build-image-grub.sh @@ -8,7 +8,7 @@ script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P) if [ "$(id -u)" != 0 ]; then set +e - ${SUDO} "${SHELL}" -c -- "\"$0\" $* || exit 42" + ${SUDO} -- "${SHELL}" -c "\"$0\" $* || exit 42" case $? in 1) die "this script needs to run as root" diff --git a/Meta/build-image-limine.sh b/Meta/build-image-limine.sh index c3fd17e835..10246c30fb 100755 --- a/Meta/build-image-limine.sh +++ b/Meta/build-image-limine.sh @@ -17,7 +17,7 @@ fi if [ "$(id -u)" != 0 ]; then set +e - ${SUDO} "${SHELL}" -c -- "\"$0\" $* || exit 42" + ${SUDO} -- "${SHELL}" -c "\"$0\" $* || exit 42" case $? in 1) die "this script needs to run as root" diff --git a/Meta/build-image-qemu.sh b/Meta/build-image-qemu.sh index 49c5e1262c..16b3310760 100755 --- a/Meta/build-image-qemu.sh +++ b/Meta/build-image-qemu.sh @@ -12,7 +12,7 @@ if [ "$(id -u)" != 0 ]; then USE_FUSE2FS=1 else set +e - ${SUDO} "${SHELL}" -c -- "\"$0\" $* || exit 42" + ${SUDO} -- "${SHELL}" -c "\"$0\" $* || exit 42" case $? in 1) die "this script needs to run as root" @@ -70,7 +70,7 @@ nearest_power_of_2() { echo $p } if [ "$SERENITY_ARCH" = "aarch64" ] || { [ -n "$SERENITY_USE_SDCARD" ] && [ "$SERENITY_USE_SDCARD" -eq 1 ]; }; then - # SD cards must have a size that is a power of 2. The Aarch64 port loads from an SD card. + # SD cards must have a size that is a power of 2. The Aarch64 port loads from an SD card. DISK_SIZE_BYTES=$(nearest_power_of_2 "$DISK_SIZE_BYTES") fi diff --git a/Meta/build-native-partition.sh b/Meta/build-native-partition.sh index c79f6a052a..2cc62f5dae 100755 --- a/Meta/build-native-partition.sh +++ b/Meta/build-native-partition.sh @@ -16,7 +16,7 @@ cleanup() { if [ "$(id -u)" != 0 ]; then set +e - ${SUDO} "${SHELL}" -c -- "\"$0\" $* || exit 42" + ${SUDO} -- "${SHELL}" -c "\"$0\" $* || exit 42" case $? in 1) die "this script needs to run as root"