hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1227234 - /hadoop/common/branches/branch-0.23/hadoop-dist/pom.xml
Date Wed, 04 Jan 2012 17:37:50 GMT
Author: tucu
Date: Wed Jan  4 17:37:50 2012
New Revision: 1227234

URL: http://svn.apache.org/viewvc?rev=1227234&view=rev
Log:
Merge -r 1227224:1227225 from trunk to branch. FIXES: HADOOP-7948

Modified:
    hadoop/common/branches/branch-0.23/hadoop-dist/pom.xml

Modified: hadoop/common/branches/branch-0.23/hadoop-dist/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.23/hadoop-dist/pom.xml?rev=1227234&r1=1227233&r2=1227234&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.23/hadoop-dist/pom.xml (original)
+++ hadoop/common/branches/branch-0.23/hadoop-dist/pom.xml Wed Jan  4 17:37:50 2012
@@ -98,11 +98,12 @@
                       run() {
                         echo "\$ ${@}"
                         "${@}"
-                        if [ $? != 0 ]; then
+                        res=$?
+                        if [ $res != 0 ]; then
                           echo
                           echo "Failed!"
                           echo
-                          exit $?
+                          exit $res
                         fi
                       }
 
@@ -139,11 +140,12 @@
                       run() {
                         echo "\$ ${@}"
                         "${@}"
-                        if [ $? != 0 ]; then
+                        res=$?
+                        if [ $res != 0 ]; then
                           echo
                           echo "Failed!"
                           echo
-                          exit $?
+                          exit $res
                         fi
                       }
 



Mime
View raw message