diff options
author | Emanuele Torre <torreemanuele6@gmail.com> | 2020-06-24 03:17:27 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-01 12:53:39 +0200 |
commit | 0cee39355c61e4b54f4f7107ed36f52e0f184a5f (patch) | |
tree | a38e8eaf2195e10412fa57e7f02232e45ff4efbf /Meta | |
parent | 5674a77bd69514418247c9aff41ea7a254f9e403 (diff) | |
download | serenity-0cee39355c61e4b54f4f7107ed36f52e0f184a5f.zip |
Meta: quote variables in `run.sh` where it makes sense
Diffstat (limited to 'Meta')
-rwxr-xr-x | Meta/run.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Meta/run.sh b/Meta/run.sh index 76479165d2..39fbff3eb1 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 \ |