diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-04-19 07:36:39 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-04-19 07:36:39 +0000 |
commit | e3f1529533914e78a432bf8a9a9658c328fbff4b (patch) | |
tree | d78ddbfc0a2973797ed0e83c36ca202f4619b32a /tests | |
parent | f3a8588fd50db29c1013b67f600549aef077e176 (diff) | |
download | coreutils-e3f1529533914e78a432bf8a9a9658c328fbff4b.tar.gz coreutils-e3f1529533914e78a432bf8a9a9658c328fbff4b.tar.bz2 coreutils-e3f1529533914e78a432bf8a9a9658c328fbff4b.zip |
(dot_mount_point): Use stat -L, in case the
directory is actually a symbolic link.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/mv/setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mv/setup b/tests/mv/setup index 591b80f23..60d834463 100755 --- a/tests/mv/setup +++ b/tests/mv/setup @@ -15,7 +15,7 @@ for d in $CANDIDATE_TMP_DIRS; do # Skip nonexistent directories. test -d $d || continue - d_mount_point=`stat -c %d $d` + d_mount_point=`stat -L -c %d $d` # Same partition? Skip it. test x$d_mount_point = x$dot_mount_point && continue |