From: Jim Meyering Date: Sat, 15 Aug 1998 03:24:56 +0000 (+0000) Subject: Work around another bug in Ultrix4.3a's /bin/sh. X-Git-Tag: FILEUTILS-3_16u~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2aa62088a3d9f429d24bf60587b482f35b01fee6;p=thirdparty%2Fcoreutils.git Work around another bug in Ultrix4.3a's /bin/sh. Reported by Christian von Roques. --- diff --git a/tests/mv/setup b/tests/mv/setup index 57849e1295..6da3218e1a 100755 --- a/tests/mv/setup +++ b/tests/mv/setup @@ -8,7 +8,12 @@ : ${MKDIR=mkdir} # Try these -: ${CANDIDATE_TMP_DIRS="$TMPDIR /tmp /var/tmp /usr/tmp $HOME"} +: ${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"} other_partition_tmpdir=