From 89edade6e5a4e8563be3cfb15787c348a911bd11 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Thu, 28 May 2015 08:34:02 -0700 Subject: [PATCH] Make update-build-links bashate compliant Change-Id: I51841f90a1a291f6bc82372e048461afbb0b482b Partially-Implements: blueprint bashate-gate --- tools/update-build-links | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/update-build-links b/tools/update-build-links index 544cf66d14..76c4df3efd 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