From 244397911ce3a00ac94a6a1b40af2b3c90597855 Mon Sep 17 00:00:00 2001 From: Szilard Cserey Date: Mon, 22 Jun 2015 17:37:50 +0200 Subject: Fetching exit code from deploy.py in deploy.sh JIRA: [BGS-2] Create Fuel deployment script Change-Id: I9b4f7f27fc8ad271fc9bb37f4cb1910af5068a73 Signed-off-by: Szilard Cserey --- fuel/ci/deploy.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fuel/ci/deploy.sh b/fuel/ci/deploy.sh index 5923f5c..d5b70d0 100755 --- a/fuel/ci/deploy.sh +++ b/fuel/ci/deploy.sh @@ -1,9 +1,8 @@ #!/bin/bash +set -o errexit topdir=$(dirname $(readlink -f $BASH_SOURCE)) deploydir=$(cd ${topdir}/../deploy; pwd) - pushd ${deploydir} > /dev/null echo -e "python deploy.py $@\n" python deploy.py $@ -popd > /dev/null - +popd > /dev/null \ No newline at end of file -- cgit 1.2.3-korg