From: Jan-Benedict Glaw Date: Sat, 16 Apr 2005 23:36:26 GMT Subject: Re: [PATCH] fix mktemp (remove mktemp ;) Message-ID: <20050416233626.GV9461@lug-owl.de> In-Reply-To: <20050416232749.23430.93360.sendpatchset@sam.engr.sgi.com> On Sat, 2005-04-16 16:27:43 -0700, Paul Jackson wrote in message <20050416232749.23430.93360.sendpatchset@sam.engr.sgi.com>: > Index: git-pasky-0.4/gitcommit.sh > =================================================================== > --- git-pasky-0.4.orig/gitcommit.sh 2005-04-12 10:39:14.000000000 -0700 > +++ git-pasky-0.4/gitcommit.sh 2005-04-16 13:17:49.000000000 -0700 > @@ -60,7 +60,9 @@ for file in $commitfiles; do > echo $file; > done > echo "Enter commit message, terminated by ctrl-D on a separate line:" > -LOGMSG=`mktemp -t gitci.XXXXXX` > +t=${TMPDIR:-/usr/tmp}/gitapply.$$ /usr/tmp/ ??? Hey, /usr may be mounted read-only! Why not just use /tmp ? MfG, JBG -- Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));