cvs.gedasymbols.org/archives/browse.cgi | search |
Message-ID: | <35EB3714.64B47FF0@cs.net> |
Date: | Mon, 31 Aug 1998 19:51:48 -0400 |
From: | "John M. Aldrich" <fighteer AT cs DOT net> |
Organization: | Two pounds of chaos and a pinch of salt. |
MIME-Version: | 1.0 |
To: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
CC: | RJ vd Boon <rjvdboon AT cs DOT vu DOT nl>, djgpp-workers AT delorie DOT com |
Subject: | Re: How to locate djgpp.env? |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 980831174346 DOT 24142L-100000 AT is> |
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% 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. -- --------------------------------------------------------------------- | John M. Aldrich | "Be wary of strong drink. It can | | aka Fighteer I | make you shoot at tax collectors-- | | mailto:fighteer AT cs DOT net | and miss." | | http://www.cs.net/fighteer/| - Lazarus Long | ---------------------------------------------------------------------
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |