summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
Diffstat (limited to 'Meta')
-rwxr-xr-xMeta/run.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/Meta/run.sh b/Meta/run.sh
index 61929cb178..770f9fd645 100755
--- a/Meta/run.sh
+++ b/Meta/run.sh
@@ -38,9 +38,12 @@ PATH="$SCRIPT_DIR/../Toolchain/Local/i686/bin:$PATH"
SERENITY_RUN="${SERENITY_RUN:-$1}"
if [ -z "$SERENITY_QEMU_BIN" ]; then
- if [ "$SERENITY_ARCH" = "x86_64" ]; then
+ if command -v qemu-system-x86_64 >/dev/null; then
SERENITY_QEMU_BIN="qemu-system-x86_64"
else
+ if [ "$SERENITY_ARCH" = "x86_64" ]; then
+ die "Please install the 64-bit QEMU system emulator (qemu-system-x86_64)."
+ fi
SERENITY_QEMU_BIN="qemu-system-i386"
fi
fi