aboutsummaryrefslogtreecommitdiff
path: root/linuxdeploy_helper.sh
diff options
context:
space:
mode:
authorNuno Martins <nunocastromartins@protonmail.com>2018-09-19 18:29:34 +0200
committerGitHub <noreply@github.com>2018-09-19 18:29:34 +0200
commit3bc4d6a10f18dd3bdde5495472d9c0f0c4f72743 (patch)
tree78b65b246b6e743e4f2fc53b6aa1949b9a98e2cb /linuxdeploy_helper.sh
parent3fd37b96a0acbbf54db62f8d84b392ae3e7b85f9 (diff)
downloadmonzero-gui-3bc4d6a10f18dd3bdde5495472d9c0f0c4f72743.tar.gz
monzero-gui-3bc4d6a10f18dd3bdde5495472d9c0f0c4f72743.tar.xz
monzero-gui-3bc4d6a10f18dd3bdde5495472d9c0f0c4f72743.zip
Allow arguments to be passed to `start-gui.sh`
Allows arguments (`-h`, `-l`) to be passed to `start-gui.sh`, otherwise the log file location cannot be specified when using the script.
Diffstat (limited to 'linuxdeploy_helper.sh')
-rwxr-xr-xlinuxdeploy_helper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxdeploy_helper.sh b/linuxdeploy_helper.sh
index cf9a6417..db6ae8d1 100755
--- a/linuxdeploy_helper.sh
+++ b/linuxdeploy_helper.sh
@@ -48,7 +48,7 @@ export QT_PLUGIN_PATH=\`pwd\`/plugins
export QML2_IMPORT_PATH=\`pwd\`/qml
# make it so that it can be called from anywhere and also through soft links
SCRIPT_DIR="\$(dirname "\$(test -L "\${BASH_SOURCE[0]}" && readlink "\${BASH_SOURCE[0]}" || echo "\${BASH_SOURCE[0]}")")"
-"\$SCRIPT_DIR"/$GUI_EXEC
+"\$SCRIPT_DIR"/$GUI_EXEC "\$@"
EOL
chmod +x $TARGET/start-gui.sh