diff options
author | Michal Ptacek <m.ptacek@partner.samsung.com> | 2019-05-06 07:40:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-06 07:40:26 +0000 |
commit | 891b8dd0663475ec6f37be8ce0f45f897540fab2 (patch) | |
tree | ac2a2a1d111ccbe23f6c2be110c17a14df2b7efa | |
parent | 517e4576afcdd6b59a3b552ea394901c2003ca0a (diff) | |
parent | 979888ac9c7cbaf17f94298d41255751222a31b5 (diff) |
Merge "Fix for Molecule images build-all.sh"
-rwxr-xr-x | ansible/test/images/docker/build-all.sh | 4 |
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} |