Maurice Lombardi wrote:
Joachim Falk a écrit :
the find-sed script assumes that the temp dir is /tmp witch isnt always true under djgpp. instead you should use the TMPDIR var witch is set in djgpp.env
Indeed I did not notice this because y have a /tmp dir in my tree
I think the default DJGPP installation creates this directory because DJGPP's goal is to be as Unix compatible as possible, and the typical Unix script may assume /tmp to exist.
But of course, it's safer to check $TMPDIR, and as I said, the GPC scripts do so now (and the GPC function GetTempDirectory has always done so as well).
Frank
Frank Heckenbach a écrit :
Maurice Lombardi wrote:
Joachim Falk a écrit :
the find-sed script assumes that the temp dir is /tmp witch isnt always true under djgpp. instead you should use the TMPDIR var witch is set in djgpp.env
Indeed I did not notice this because y have a /tmp dir in my tree
I think the default DJGPP installation creates this directory because DJGPP's goal is to be as Unix compatible as possible, and the typical Unix script may assume /tmp to exist.
Unfortunately no. But I had previously to compile a unix package which needed /tmp. So I created it and never removed it afterwards.
Maurice