[EMAIL PROTECTED] (Ludovic Courtès) writes:

> -tempdir="/tmp/snarf.$$"
> +
> +if [ x"$TMPDIR" = x ]; then TMPDIR="/tmp" ; else : ; fi
> +tempdir="$TMPDIR/guile-snarf.$$"

I believe that's equivalent to

tempdir="${TMPDIR:-/tmp}/guile-snarf.$$"

Although install-sh says:

# Don't use :- since 4.3BSD and earlier shells don't like it.

So your version is safer.

Regards,
     Neil



Reply via email to