hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r1392368 - /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred
Date Mon, 01 Oct 2012 14:53:51 GMT
Author: bobby
Date: Mon Oct  1 14:53:50 2012
New Revision: 1392368

URL: http://svn.apache.org/viewvc?rev=1392368&view=rev
Log:
svn merge -c 1391780 FIXES: HADOOP-8386. hadoop script doesn't work if 'cd' prints to stdout
(default behavior in Ubuntu). Contributed by Christopher Berner and Andy Isaacson. (harsh)

Modified:
    hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred

Modified: hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred?rev=1392368&r1=1392367&r2=1392368&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred (original)
+++ hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred Mon Oct  1 14:53:50
2012
@@ -17,7 +17,7 @@
 
 bin=`which $0`
 bin=`dirname ${bin}`
-bin=`cd "$bin"; pwd`
+bin=`cd "$bin" > /dev/null; pwd`
 
 DEFAULT_LIBEXEC_DIR="$bin"/../libexec
 HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}



Mime
View raw message