From: Paul Eggert Date: Tue, 19 Apr 2005 07:36:39 +0000 (+0000) Subject: (dot_mount_point): Use stat -L, in case the X-Git-Tag: CPPI-1_12~963 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3f1529533914e78a432bf8a9a9658c328fbff4b;p=thirdparty%2Fcoreutils.git (dot_mount_point): Use stat -L, in case the directory is actually a symbolic link. --- diff --git a/tests/mv/setup b/tests/mv/setup index 591b80f23d..60d834463d 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