diff options
author | Bignaux Ronan <ronan@aimao.org> | 2020-03-08 13:53:48 +0100 |
---|---|---|
committer | Bignaux Ronan <ronan@aimao.org> | 2020-03-08 13:53:48 +0100 |
commit | 95dc1ef1f0d5da42f3b92d9af00cbb0179cb5ecf (patch) | |
tree | 0ad09454badca9a401a5a5883ac5925278e88322 /pkgs/build-support/appimage | |
parent | 2a6cd0e6c08f837b7599601700313c68eb86a6fa (diff) |
appimageTools: fix appimage-exec.sh passing arguments
Diffstat (limited to 'pkgs/build-support/appimage')
-rwxr-xr-x | pkgs/build-support/appimage/appimage-exec.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/build-support/appimage/appimage-exec.sh b/pkgs/build-support/appimage/appimage-exec.sh index b209ce983e585..ee952db0fd748 100755 --- a/pkgs/build-support/appimage/appimage-exec.sh +++ b/pkgs/build-support/appimage/appimage-exec.sh @@ -3,7 +3,6 @@ if [ -n "$DEBUG" ] ; then set -x fi -#export PATH=@path@ PATH="@path@:$PATH" #DEBUG=0 @@ -69,7 +68,6 @@ apprun() { fi export PATH="$PATH:$PWD/usr/bin" - wrap "$@" } wrap() { @@ -98,6 +96,7 @@ while getopts ":a:d:xrw" option; do a) #AppImage file # why realpath? APPIMAGE="$(realpath "${OPTARG}")" + break ;; d) #appimage Directory export APPDIR=${OPTARG} @@ -124,7 +123,8 @@ if [[ $unpack_opt = true ]] && [[ -f "$APPIMAGE" ]]; then fi if [[ $apprun_opt = true ]] && [[ -f "$APPIMAGE" ]]; then - apprun "$@" + apprun + wrap "$@" exit fi |