mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
Meta: quote variables in run.sh
where it makes sense
This commit is contained in:
parent
5674a77bd6
commit
0cee39355c
Notes:
sideshowbarker
2024-07-19 05:17:35 +09:00
Author: https://github.com/emanuele6 Commit: https://github.com/SerenityOS/serenity/commit/0cee39355c6 Pull-request: https://github.com/SerenityOS/serenity/pull/2617 Reviewed-by: https://github.com/bugaevc Reviewed-by: https://github.com/ericonr
1 changed files with 7 additions and 7 deletions
14
Meta/run.sh
14
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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue