HADOOP-7948. Shell scripts created by hadoop-dist/pom.xml to build tar do not properly propagate failure. (cim_michajlomatijkiw via tucu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1227225 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
075122690c
commit
1447274693
|
@ -238,6 +238,9 @@ Release 0.23.1 - Unreleased
|
|||
|
||||
HADOOP-7837. no NullAppender in the log4j config. (eli)
|
||||
|
||||
HADOOP-7948. Shell scripts created by hadoop-dist/pom.xml to build tar do not
|
||||
properly propagate failure. (cim_michajlomatijkiw via tucu)
|
||||
|
||||
Release 0.23.0 - 2011-11-01
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue