hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject hadoop git commit: HADOOP-13797 Remove hardcoded absolute path for ls. Contributed by Christine Koppelt
Date Mon, 07 Nov 2016 12:37:26 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 3b279fe42 -> 29c6a0be0


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


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/29c6a0be
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/29c6a0be
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/29c6a0be

Branch: refs/heads/branch-2
Commit: 29c6a0be0d81f261c4ea39373186fe9ac1882e8e
Parents: 3b279fe
Author: Steve Loughran <stevel@apache.org>
Authored: Mon Nov 7 12:36:10 2016 +0000
Committer: Steve Loughran <stevel@apache.org>
Committed: Mon Nov 7 12:36:25 2016 +0000

----------------------------------------------------------------------
 .../hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/29c6a0be/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java
index 61ff2e7..b6302ea 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java
@@ -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. */


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message