diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2022-11-29 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2022-11-29 12:00:00 +0000 |
commit | c0cdf0ad4bac64d96bd7c581878d4507c53234c8 (patch) | |
tree | 6b844dcc3481434bea9edf0d72b646577d8ce44e /pkgs/build-support/appimage | |
parent | a115bb9bd56831941be3776c8a94005867f316a7 (diff) |
appimage-run: export OWD
documented here: https://docs.appimage.org/packaging-guide/environment-variables.html Fixes #203330
Diffstat (limited to 'pkgs/build-support/appimage')
-rwxr-xr-x | pkgs/build-support/appimage/appimage-exec.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/build-support/appimage/appimage-exec.sh b/pkgs/build-support/appimage/appimage-exec.sh index 4ff6802e64534..b91d13c4a2356 100755 --- a/pkgs/build-support/appimage/appimage-exec.sh +++ b/pkgs/build-support/appimage/appimage-exec.sh @@ -7,6 +7,9 @@ fi PATH="@path@:$PATH" apprun_opt=true +OWD=$(readlink -f .) +# can be read by appimages: https://docs.appimage.org/packaging-guide/environment-variables.html +export OWD # src : AppImage # dest : let's unpack() create the directory |