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
mkdir -p vendor/src
for v in github.com golang.org; do
if test -d vendor/${v}; then
mv vendor/${v} vendor/src/
for v in vendor/*; do
if test ${v} = vendor/src; then continue; fi
if test -d ${v}; then
mv ${v} vendor/src/
fi
done