run-tests: bugfix on mktemp
Radoslaw AstralStorm Szkodzinski
astralstorm at gorzow.mm.pl
Thu Jul 28 14:49:15 UTC 2005
On Thu, 28 Jul 2005 10:38:52 -0400
Aron Griffis <agriffis at gentoo.org> wrote:
>
> No. ${TMP:-/tmp} is a bash/ksh extension. ${TMP-/tmp} is Bourne
> shell and should be used anywhere you care about compatibility.
>
> There is also a semantic difference. ${TMP:-/tmp} uses the default
> value if ${TMP} is unset. ${TMP-/tmp} uses the default value if
> ${TMP} is unset *or* empty. In this case you clearly want the latter.
So my doc is bash-specific. How evil. Now I have to fix about 10 scripts
because of this. :)
--
AstralStorm
GPG Key ID = 0xD1F10BA2
GPG Key fingerprint = 96E2 304A B9C4 949A 10A0 9105 9543 0453 D1F1 0BA2
Please encrypt if you can.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20050728/052b049e/attachment-0001.asc>
More information about the Mercurial
mailing list