Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2013-06-05 17:04:17 -0400
committerDavid Williams2013-06-05 17:04:17 -0400
commit59d3a9477adf8ce4cd99910c4fb571d6845233f4 (patch)
tree51a4d3248e7a46da36c283d9e7ac0821b694b280
parent7241b3348d3bda8aae3f4db8869c56e8051c6fd2 (diff)
downloadeclipse.platform.releng.aggregator-59d3a9477adf8ce4cd99910c4fb571d6845233f4.tar.gz
eclipse.platform.releng.aggregator-59d3a9477adf8ce4cd99910c4fb571d6845233f4.tar.xz
eclipse.platform.releng.aggregator-59d3a9477adf8ce4cd99910c4fb571d6845233f4.zip
Bug 409817 - All API Tools reports are missing
corrected error checking, which itself was leaving an error.
-rwxr-xr-xproduction/build-functions.shsource2
1 files changed, 2 insertions, 0 deletions
diff --git a/production/build-functions.shsource b/production/build-functions.shsource
index 6737d4b1..518d0a2e 100755
--- a/production/build-functions.shsource
+++ b/production/build-functions.shsource
@@ -15,6 +15,8 @@ checkNArgs ()
#echo " DEBUG checkNArgs bashLineNo[1]: ${BASH_LINENO[1]}" >> ${TRACE_OUTPUT}
if [[ $actual != $expected ]]
then
+ buildDirectory=$( fn-build-dir "$ROOT" "$BUILD_ID" "$STREAM" )
+ mkdir -p "${buildDirectory}"
BUILD_FAILED="${buildDirectory}/buildFailed-program-error"
echo "PROGRAM ERROR: expected $expected arguments but was passed $actual." >${BUILD_FAILED}
echo " Called from ${FUNCNAME[1]}, called from line number ${BASH_LINENO[1]} in ${BASH_SOURCE[2]}." >>${BUILD_FAILED}

Back to the top