diff --git a/Meta/run.sh b/Meta/run.sh index 76479165d2a..39fbff3eb14 100755 --- a/Meta/run.sh +++ b/Meta/run.sh @@ -49,17 +49,17 @@ export SDL_VIDEO_X11_DGAMOUSE=0 if [ "$1" = "b" ]; then # ./run b: bochs - $SERENITY_BOCHS_BIN -q -f .bochsrc + "$SERENITY_BOCHS_BIN" -q -f .bochsrc elif [ "$1" = "qn" ]; then # ./run qn: qemu without network - $SERENITY_QEMU_BIN \ + "$SERENITY_QEMU_BIN" \ $SERENITY_COMMON_QEMU_ARGS \ -device e1000 \ -kernel Kernel/Kernel \ -append "${SERENITY_KERNEL_CMDLINE}" elif [ "$1" = "qtap" ]; then # ./run qtap: qemu with tap - sudo $SERENITY_QEMU_BIN \ + sudo "$SERENITY_QEMU_BIN" \ $SERENITY_COMMON_QEMU_ARGS \ $SERENITY_KVM_ARG \ $SERENITY_PACKET_LOGGING_ARG \ @@ -69,7 +69,7 @@ elif [ "$1" = "qtap" ]; then -append "${SERENITY_KERNEL_CMDLINE}" elif [ "$1" = "qgrub" ]; then # ./run qgrub: qemu with grub - $SERENITY_QEMU_BIN \ + "$SERENITY_QEMU_BIN" \ $SERENITY_COMMON_QEMU_ARGS \ $SERENITY_KVM_ARG \ $SERENITY_PACKET_LOGGING_ARG \ @@ -84,7 +84,7 @@ elif [ "$1" = "q35_cmd" ]; then done echo "Starting SerenityOS, Commandline: ${SERENITY_KERNEL_CMDLINE}" # ./run: qemu with SerenityOS with custom commandline - $SERENITY_QEMU_BIN \ + "$SERENITY_QEMU_BIN" \ $SERENITY_COMMON_QEMU_Q35_ARGS \ $SERENITY_KVM_ARG \ -netdev user,id=breh,hostfwd=tcp:127.0.0.1:8888-10.0.2.15:8888,hostfwd=tcp:127.0.0.1:8823-10.0.2.15:23 \ @@ -100,7 +100,7 @@ elif [ "$1" = "qcmd" ]; then done echo "Starting SerenityOS, Commandline: ${SERENITY_KERNEL_CMDLINE}" # ./run: qemu with SerenityOS with custom commandline - $SERENITY_QEMU_BIN \ + "$SERENITY_QEMU_BIN" \ $SERENITY_COMMON_QEMU_ARGS \ $SERENITY_KVM_ARG \ -netdev user,id=breh,hostfwd=tcp:127.0.0.1:8888-10.0.2.15:8888,hostfwd=tcp:127.0.0.1:8823-10.0.2.15:23 \ @@ -109,7 +109,7 @@ elif [ "$1" = "qcmd" ]; then -append "${SERENITY_KERNEL_CMDLINE}" else # ./run: qemu with user networking - $SERENITY_QEMU_BIN \ + "$SERENITY_QEMU_BIN" \ $SERENITY_COMMON_QEMU_ARGS \ $SERENITY_KVM_ARG \ $SERENITY_PACKET_LOGGING_ARG \