summaryrefslogtreecommitdiffstats
path: root/odl-pipeline/lib
diff options
context:
space:
mode:
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>2016-12-14 13:22:48 +0100
committerNikolas Hermanns <nikolas.hermanns@ericsson.com>2016-12-14 13:23:07 +0100
commitec8d50466e46da47e927d53ca55939fdfde42415 (patch)
treeba2b92bbe33704828161908b7ada605977aaaf7c /odl-pipeline/lib
parent7c552712e38ac896ff08366f6862590d29659e33 (diff)
Execute script in lib folder/Use vjumb as Gateway
Change-Id: I9ad9c9473829fb64ea5ed4f1a21d77aa16615344 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
Diffstat (limited to 'odl-pipeline/lib')
-rwxr-xr-xodl-pipeline/lib/deployment_cloner.sh3
-rwxr-xr-xodl-pipeline/lib/odl_reinstaller.sh3
-rwxr-xr-xodl-pipeline/lib/test_environment.sh3
-rwxr-xr-xodl-pipeline/lib/tripleo_manager.sh3
4 files changed, 8 insertions, 4 deletions
diff --git a/odl-pipeline/lib/deployment_cloner.sh b/odl-pipeline/lib/deployment_cloner.sh
index 9e6afd0..3cb9354 100755
--- a/odl-pipeline/lib/deployment_cloner.sh
+++ b/odl-pipeline/lib/deployment_cloner.sh
@@ -3,4 +3,5 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
set -e
export PYTHONPATH=$PYTHONPATH:$DIR
mkdir -p $DIR/tmp
-python $DIR/deployment_cloner/deployment_cloner.py $@
+cd $DIR
+python ./deployment_cloner/deployment_cloner.py $@
diff --git a/odl-pipeline/lib/odl_reinstaller.sh b/odl-pipeline/lib/odl_reinstaller.sh
index 0c3c8c5..4923ed0 100755
--- a/odl-pipeline/lib/odl_reinstaller.sh
+++ b/odl-pipeline/lib/odl_reinstaller.sh
@@ -3,4 +3,5 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
set -e
export PYTHONPATH=$PYTHONPATH:$DIR
mkdir -p $DIR/tmp
-python $DIR/odl_reinstaller/odl_reinstaller.py $@
+cd $DIR
+python ./odl_reinstaller/odl_reinstaller.py $@
diff --git a/odl-pipeline/lib/test_environment.sh b/odl-pipeline/lib/test_environment.sh
index 56601f4..520f36a 100755
--- a/odl-pipeline/lib/test_environment.sh
+++ b/odl-pipeline/lib/test_environment.sh
@@ -3,4 +3,5 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
set -e
export PYTHONPATH=$PYTHONPATH:$DIR
mkdir -p $DIR/tmp
-python $DIR/test_environment/test_environment.py $@
+cd $DIR
+python ./test_environment/test_environment.py $@
diff --git a/odl-pipeline/lib/tripleo_manager.sh b/odl-pipeline/lib/tripleo_manager.sh
index f4f10cf..9c999a3 100755
--- a/odl-pipeline/lib/tripleo_manager.sh
+++ b/odl-pipeline/lib/tripleo_manager.sh
@@ -6,4 +6,5 @@ fi
set -e
export PYTHONPATH=$PYTHONPATH:$DIR
mkdir -p $DIR/tmp
-python $DIR/tripleo_manager/tripleo_manager.py $@
+cd $DIR
+python ./tripleo_manager/tripleo_manager.py $@