Do use readlink if available
[gnulib.git] / gnulib-tool
index 16f9b2f..6213f50 100755 (executable)
@@ -591,7 +591,7 @@ func_warning ()
 
 # func_readlink SYMLINK
 # outputs the target of the given symlink.
-if (type -p readlink) > /dev/null 2>&1; then
+if (type readlink) > /dev/null 2>&1; then
   func_readlink ()
   {
     # Use the readlink program from GNU coreutils.