From c3aa8b0831bedb522f894e5fc318e42b94e1361f Mon Sep 17 00:00:00 2001 From: Diogo Trindade Date: Mon, 27 Mar 2023 00:37:52 +0100 Subject: [PATCH] Linux - Fixed passed arguments again --- src/Artemis.UI.Linux/Scripts/update.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/Artemis.UI.Linux/Scripts/update.sh b/src/Artemis.UI.Linux/Scripts/update.sh index f8b47c72c..9ee398d2c 100644 --- a/src/Artemis.UI.Linux/Scripts/update.sh +++ b/src/Artemis.UI.Linux/Scripts/update.sh @@ -48,13 +48,9 @@ sleep 1 # When finished, start Artemis again -# If the user has specified arguments, pass them to the executable -if [ -z "$artemisArgs" ] -then - "$destinationDirectory/Artemis.UI.Linux" & -else - "$destinationDirectory/Artemis.UI.Linux" "$artemisArgs" & -fi +# quoting here breaks stuff, all arguments count as 1 +# shellcheck disable=SC2086 +"$destinationDirectory/Artemis.UI.Linux" $artemisArgs &