diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-09-04 12:50:38 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-09-04 12:50:38 +0200 |
commit | 189bfbe1426c2a6589dd89437b6730cf2c8849a6 (patch) | |
tree | f3b62dcdb8d60ee5461fe4f50821ea5766c33cfd /debian/patches/020_add-nxagent-wrapper.full.patch | |
parent | 8d2827b2a375ce945369d0892fdbb1f5d5052dbd (diff) | |
download | nx-libs-189bfbe1426c2a6589dd89437b6730cf2c8849a6.tar.gz nx-libs-189bfbe1426c2a6589dd89437b6730cf2c8849a6.tar.bz2 nx-libs-189bfbe1426c2a6589dd89437b6730cf2c8849a6.zip |
Make sure the NX_TEMP envvar gets set in all wrapper script for all nx* executables
Diffstat (limited to 'debian/patches/020_add-nxagent-wrapper.full.patch')
-rw-r--r-- | debian/patches/020_add-nxagent-wrapper.full.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/020_add-nxagent-wrapper.full.patch b/debian/patches/020_add-nxagent-wrapper.full.patch index 59d056b9b..05d944b00 100644 --- a/debian/patches/020_add-nxagent-wrapper.full.patch +++ b/debian/patches/020_add-nxagent-wrapper.full.patch @@ -23,11 +23,11 @@ + +# make sure nxagent starts properly with pam_tmpdir.so being in use +NX_TEMP=${NX_TEMP:-/tmp} ++export NX_TEMP + +LD_LIBRARY_PATH=$NX_LIBS:$NX_LIBS/X11:$NX_LOCAL_LIBS:$NX_LOCAL_LIBS/X11:$LD_LIBRARY_PATH +test -d $NX_LIBS && export NX_LIBS || export NX_LIBS=$NX_LOCAL_LIBS + +export LD_LIBRARY_PATH -+export NX_TEMP + +exec $NX_LIBS/nxagent "$@" |