Merge "Make update-build-links bashate compliant"
This commit is contained in:
commit
53de5ba287
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user