diff options
| author | Steven Dake <stdake@cisco.com> | 2015-05-28 08:34:02 -0700 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2015-06-07 12:17:59 -0700 |
| commit | 89edade6e5a4e8563be3cfb15787c348a911bd11 (patch) | |
| tree | ed2bb86362b098ea955d14ccae2b5822aa327805 /tools | |
| parent | 83b2e10409f4297f0333d46d1ab1dba0960f3cbe (diff) | |
| download | kolla-89edade6e5a4e8563be3cfb15787c348a911bd11.tar.gz kolla-89edade6e5a4e8563be3cfb15787c348a911bd11.zip | |
Make update-build-links bashate compliant
Change-Id: I51841f90a1a291f6bc82372e048461afbb0b482b
Partially-Implements: blueprint bashate-gate
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/update-build-links | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/update-build-links b/tools/update-build-links index 544cf66d1..76c4df3ef 100755 --- a/tools/update-build-links +++ b/tools/update-build-links @@ -4,9 +4,9 @@ REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')") cd "$(dirname "$REAL_PATH")/.." find docker -name Dockerfile | while read dockerfile; do - dir=${dockerfile%/*} - link=$(python -c 'import os,sys; print os.path.relpath(sys.argv[1], sys.argv[2])' \ - $PWD/tools/build-docker-image $dir) - ln -sf $link $dir/build + dir=${dockerfile%/*} + link=$(python -c 'import os,sys; print os.path.relpath(sys.argv[1], sys.argv[2])' \ + $PWD/tools/build-docker-image $dir) + ln -sf $link $dir/build done |
