diff options
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2011-12-20 22:21:25 +0200 |
---|---|---|
committer | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2011-12-20 22:21:25 +0200 |
commit | 1e4492ac1c0d98133ae47b1cb69c809f331b8640 (patch) | |
tree | a7158885e629597c0e38ad3463559eea34f1795d /node | |
parent | 97a8370c89f52d26e47ffe8b655024383e32957d (diff) |
No, cannot test a build config var until we parsed it.
Diffstat (limited to 'node')
-rwxr-xr-x | node/lava-submit | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/node/lava-submit b/node/lava-submit index 3a92ccf..4714d92 100755 --- a/node/lava-submit +++ b/node/lava-submit @@ -10,11 +10,6 @@ set -xe -if [ -z "$LAVA_SUBMIT" -o "$LAVA_SUBMIT" = "0" ]; then - exit; -fi - - BUILD_SCRIPT_ROOT=$(readlink -f "$(dirname "${0}")/../build-scripts") cd build @@ -25,6 +20,10 @@ set -a eval "$CONFIGURATION" set +a +if [ -z "$LAVA_SUBMIT" -o "$LAVA_SUBMIT" = "0" ]; then + exit; +fi + if ! "${BUILD_SCRIPT_ROOT}"/post-build-lava.py; then if [ "$LAVA_SUBMIT_FATAL" != "0" ]; then exit 1 |