summaryrefslogtreecommitdiff
path: root/tests/mv
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-08-15 03:24:56 +0000
committerJim Meyering <jim@meyering.net>1998-08-15 03:24:56 +0000
commit2aa62088a3d9f429d24bf60587b482f35b01fee6 (patch)
tree9489f59374210b4a80fe723cb66e2c10d5c609ed /tests/mv
parentf2d4fc8016ca7a7b2525ccfccd6e8ee5710277e1 (diff)
downloadcoreutils-2aa62088a3d9f429d24bf60587b482f35b01fee6.tar.xz
Work around another bug in Ultrix4.3a's /bin/sh.
Reported by Christian von Roques.
Diffstat (limited to 'tests/mv')
-rwxr-xr-xtests/mv/setup7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/mv/setup b/tests/mv/setup
index 57849e129..6da3218e1 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=