HADOOP-13797 Remove hardcoded absolute path for ls. Contributed by Christine Koppelt

This commit is contained in:
Steve Loughran 2016-11-07 12:36:10 +00:00
parent b970446b2c
commit f76895573d
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ public abstract class Shell {
/** Return a command to get permission information. */
public static String[] getGetPermissionCommand() {
return (WINDOWS) ? new String[] { getWinUtilsPath(), "ls", "-F" }
: new String[] { "/bin/ls", "-ld" };
: new String[] { "ls", "-ld" };
}
/** Return a command to set permission. */