t7800: readlink may not be available
[gitweb.git] / t / t7800-difftool.sh
index ea35a0241c201ac12c29603a21421199dd097600..cec3eafdfd62548e3318aa1d611955abb9aa3b76 100755 (executable)
@@ -423,7 +423,7 @@ write_script .git/CHECK_SYMLINKS <<\EOF
 for f in file file2 sub/sub
 do
        echo "$f"
-       readlink "$2/$f"
+       ls -ld "$2/$f" | sed -e 's/.* -> //'
 done >actual
 EOF