diff options
author | Guillaume Girol <symphorien@users.noreply.github.com> | 2022-12-02 20:12:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-02 20:12:49 +0000 |
commit | c1c69986845fe7223389f44004719f9aa22e148e (patch) | |
tree | 449e8ac029b4067accb0a90ca3002a43ed930e81 /pkgs/build-support/appimage | |
parent | dc53520e2839f527e58911fbd256e038173f0992 (diff) | |
parent | c0cdf0ad4bac64d96bd7c581878d4507c53234c8 (diff) |
Merge pull request #203598 from symphorien/appimage-owd
appimage-run: export OWD
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 |