From 5c3c00e18b2c7afb373b252c0eb143745190ecb8 Mon Sep 17 00:00:00 2001 From: Adrian Malacoda Date: Sun, 10 Oct 2021 23:45:36 -0500 Subject: [PATCH] but do quote "$@" in java call to allow filenames with spaces to work. --- desktop/piecannon.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/piecannon.in b/desktop/piecannon.in index 0c9cc20..f7a2708 100644 --- a/desktop/piecannon.in +++ b/desktop/piecannon.in @@ -4,7 +4,7 @@ JAR_PATH=@JAR_PATH@ if [ "$1" = "--file-selector" ]; then RESULT=$(java -jar "$JAR_PATH" $(yad --file)) else - RESULT=$(java -jar "$JAR_PATH" $@) + RESULT=$(java -jar "$JAR_PATH" "$@") fi xdg-open $RESULT