1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-03-03 11:40:04 +02:00

Rewrite not to use `: ${VAR=not_set}' paradigm.

This commit is contained in:
Jim Meyering
2002-08-20 16:53:33 +00:00
parent 9db4370c1a
commit 17077cbcbf

View File

@@ -4,12 +4,8 @@
# of the current directory. If one is found, create a temporary directory
# inside it.
: ${CANDIDATE_TMP_DIRS=not_set}
# Work around a bug in the way Ultrix4.3a's /bin/sh handles multi-word
# variables set with ${VAR="VALUE"}
test "$CANDIDATE_TMP_DIRS" = not_set \
&& CANDIDATE_TMP_DIRS="$TMPDIR /tmp /var/tmp /usr/tmp $HOME"
test "${CANDIDATE_TMP_DIRS+set}" = set \
|| CANDIDATE_TMP_DIRS="$TMPDIR /tmp /var/tmp /usr/tmp $HOME"
other_partition_tmpdir=