Escape forwarding of arguments in MacoS build script

This commit is contained in:
Veronica Berglyd Olsen
2024-04-20 18:28:57 +02:00
parent 2c1abf1519
commit 48a7929254
+1 -1
View File
@@ -144,7 +144,7 @@ echo "Creating entry script ..."
cat > novelWriter.app/Contents/MacOS/novelWriter << EOF
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
$DIR/../Resources/bin/python -sE $DIR/../Resources/novelWriter/novelWriter.py $@
$DIR/../Resources/bin/python -sE $DIR/../Resources/novelWriter/novelWriter.py \$\@
EOF
# Make it executable