summaryrefslogtreecommitdiff
path: root/Meta/build-image-qemu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/build-image-qemu.sh')
-rwxr-xr-xMeta/build-image-qemu.sh12
1 files changed, 2 insertions, 10 deletions
diff --git a/Meta/build-image-qemu.sh b/Meta/build-image-qemu.sh
index 832bf683ba..e94f396689 100755
--- a/Meta/build-image-qemu.sh
+++ b/Meta/build-image-qemu.sh
@@ -14,16 +14,9 @@ fi
set -e
-SUDO="sudo"
+SCRIPT_DIR="$(dirname "${0}")"
-if [ "$(uname -s)" = "SerenityOS" ]; then
- SUDO="pls"
-fi
-
-die() {
- echo "die: $*"
- exit 1
-}
+. "${SCRIPT_DIR}/.shell_include.sh"
USE_FUSE2FS=0
@@ -66,7 +59,6 @@ else
fi
fi
-SCRIPT_DIR="$(dirname "${0}")"
# Prepend the toolchain qemu directory so we pick up QEMU from there
PATH="$SCRIPT_DIR/../Toolchain/Local/qemu/bin:$PATH"