From 55778cffe7a0b9fdb33a115e453953410eed2ed1 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 5 May 2016 10:35:57 -0400 Subject: [PATCH] Look for all vendor dirs --- skopeo.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/skopeo.spec b/skopeo.spec index ec2e8c8..ac1e7e6 100644 --- a/skopeo.spec +++ b/skopeo.spec @@ -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