summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Ptacek <m.ptacek@partner.samsung.com>2019-05-06 07:40:26 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-06 07:40:26 +0000
commit891b8dd0663475ec6f37be8ce0f45f897540fab2 (patch)
treeac2a2a1d111ccbe23f6c2be110c17a14df2b7efa
parent517e4576afcdd6b59a3b552ea394901c2003ca0a (diff)
parent979888ac9c7cbaf17f94298d41255751222a31b5 (diff)
Merge "Fix for Molecule images build-all.sh"
-rwxr-xr-xansible/test/images/docker/build-all.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/test/images/docker/build-all.sh b/ansible/test/images/docker/build-all.sh
index dd5db093..dcaaf82f 100755
--- a/ansible/test/images/docker/build-all.sh
+++ b/ansible/test/images/docker/build-all.sh
@@ -19,9 +19,9 @@
# COPYRIGHT NOTICE ENDS HERE
BUILD_SCRIPT=${1:-build.sh}
-
+SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
# Run all build scripts in direct subdirectories
-for buildfile in $(find -mindepth 2 -maxdepth 2 -name ${BUILD_SCRIPT});
+for buildfile in $(find ${SCRIPTPATH} -mindepth 2 -maxdepth 2 -name ${BUILD_SCRIPT});
do
pushd $(dirname ${buildfile})
. ${BUILD_SCRIPT}