Mail Archives: djgpp-workers/1998/09/01/09:36:17
In your letter dated Mon, 31 Aug 1998 19:51:48 -0400, you wrote:
>Eli Zaretskii wrote:
>> > [1] Can't the preamble be more flexible? I guess putting a little
>> > expansion like bash does, in the code is asking a little too much I
>> > think. I mean something like: +TMPDIR=${%TEMP%:-%DJDIR%/tmp} which
>> > isn't possible (yet;-).
>>
>> Doesn't the following do it?
>> +TEMP=%DJDIR%/tmp
>> TMPDIR=%TEMP%
Oops, Eli got me (RJ)...
>That still nukes people who set TMPDIR explicitly. I suggest the
>following:
> +TEMP=%DJDIR%/tmp
> +TMPDIR=%TEMP%
>This way, people get the results they want no matter which variables
>they set.
And John got us.
Maybe one should extend it to
+TEMP=%DJDIR%/tmp
+TMP=%TEMP%
+TMPDIR=%TMP%
But this still doesn't solve the problem of maximizing the likelihood
of setting TMPDIR to a drive with enough space, for programs (like
tar) needing it.
using
[tar]
TMPDIR=%DJDIR%/tmp
has (major) drawbacks for people running DJGPP from CD or a network,
but has advantages for people who point their TMPDIR to a ramdrive.
Maybe using something like:
[tar]
+TARTMP=%DJDIR%/tmp
TMPDIR=%TARTMP%
and a note in the README to set TARTMP to a local drive (NOT a
ramdrive) if you are using a networked/CDROMed DJGPP (Yes, this is
ugly, sorry.)
jm2c, (just my $0.02)
Robert
--
rjvdboon AT cs DOT vu DOT nl | "En dat is niet waar!" sprak ex-Staatsecretaris-
www.cs.vu.nl/~rjvdboon | van-onderwijs Netelenbos fel.
- Raw text -