Merge pull request #108427 from symphorien/chdir-appimage

appimage-run: fix #108426
This commit is contained in:
Guillaume Girol
2021-01-25 18:18:42 +00:00
committed by GitHub
4 changed files with 35 additions and 4 deletions

View File

@@ -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() {