diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2021-01-04 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2021-01-05 20:26:24 +0100 |
commit | f54f718871ed34cc8e6a71905349d34f00d6fd6d (patch) | |
tree | 7f8078e0b32eb5dedddc3563352ac399fe1a4fec /pkgs/build-support/appimage | |
parent | b28e5f3c9a60ac2ae89390660671530221fbfd2a (diff) |
appimage-run: don't chdir to the appimage
this allows to pass relative paths to appimages as argument fixes #108426
Diffstat (limited to 'pkgs/build-support/appimage')
-rwxr-xr-x | pkgs/build-support/appimage/appimage-exec.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/appimage/appimage-exec.sh b/pkgs/build-support/appimage/appimage-exec.sh index 7986c589667b3..4ff6802e64534 100755 --- a/pkgs/build-support/appimage/appimage-exec.sh +++ b/pkgs/build-support/appimage/appimage-exec.sh @@ -75,15 +75,15 @@ apprun() { wrap() { - cd "$APPDIR" || exit # quite same in appimageTools export APPIMAGE_SILENT_INSTALL=1 if [ -n "$APPIMAGE_DEBUG_EXEC" ]; then + cd "$APPDIR" || true exec "$APPIMAGE_DEBUG_EXEC" fi - exec ./AppRun "$@" + exec "$APPDIR/AppRun" "$@" } usage() { |