]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Work around another bug in Ultrix4.3a's /bin/sh.
authorJim Meyering <jim@meyering.net>
Sat, 15 Aug 1998 03:24:56 +0000 (03:24 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 15 Aug 1998 03:24:56 +0000 (03:24 +0000)
Reported by Christian von Roques.

tests/mv/setup

index 57849e1295413660304d55e2fa28ff8e8fc60f28..6da3218e1a4977398117493ff6861fb547760e63 100755 (executable)
@@ -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=