Look for all vendor dirs

This commit is contained in:
Colin Walters 2016-05-05 10:35:57 -04:00
parent 5b5bf8a9da
commit 55778cffe7

View File

@ -165,9 +165,10 @@ mkdir -p src/github.com/projectatomic
ln -s ../../../ src/github.com/projectatomic/skopeo ln -s ../../../ src/github.com/projectatomic/skopeo
mkdir -p vendor/src mkdir -p vendor/src
for v in github.com golang.org; do for v in vendor/*; do
if test -d vendor/${v}; then if test ${v} = vendor/src; then continue; fi
mv vendor/${v} vendor/src/ if test -d ${v}; then
mv ${v} vendor/src/
fi fi
done done