update godep bootstrap

This commit is contained in:
siddontang 2014-11-21 09:13:48 +08:00
parent 9fc027e553
commit abb4e8c903
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@
godep path > /dev/null 2>&1
if [ "$?" = 0 ]; then
GOPATH=`godep path`
# https://github.com/tools/godep/issues/60
# have to rm Godeps/_workspace first, then restore
rm -rf $GOPATH
godep restore
exit 0
fi