On Sat, 2008-08-02 at 19:35 +0200, Julien Cristau wrote: > On Wed, Aug 2, 2006 at 23:58:13 +0100, Sam Morris wrote: > > > Could someone *please* look into making this very minor improvement to > > the /etc/X11/Xsession.d/90x11-common_ssh-agent file? > > I think I'll go with this: > > --- a/debian/local/Xsession.d/90x11-common_ssh-agent > +++ b/debian/local/Xsession.d/90x11-common_ssh-agent > @@ -17,8 +17,8 @@ if grep -qs ^use-ssh-agent "$OPTIONFILE"; then > fi > fi > > if [ -n "$STARTSSH" ]; then > - STARTUP="$SSHAGENT $SSHAGENTARGS $STARTUP" > + STARTUP="$SSHAGENT $SSHAGENTARGS ${TMPDIR:+env TMPDIR=$TMPDIR} $STARTUP" > fi > > # vim:set ai et sts=2 sw=2 tw=80: > > Sounds sane?
Neat solution--looks good to me. :) > > Cheers, > Julien -- Sam Morris http://robots.org.uk/ PGP key id 1024D/5EA01078 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078
signature.asc
Description: This is a digitally signed message part