forked from mirror/ledisdb
update godep bootstrap
This commit is contained in:
parent
9fc027e553
commit
abb4e8c903
|
@ -6,6 +6,9 @@
|
||||||
godep path > /dev/null 2>&1
|
godep path > /dev/null 2>&1
|
||||||
if [ "$?" = 0 ]; then
|
if [ "$?" = 0 ]; then
|
||||||
GOPATH=`godep path`
|
GOPATH=`godep path`
|
||||||
|
# https://github.com/tools/godep/issues/60
|
||||||
|
# have to rm Godeps/_workspace first, then restore
|
||||||
|
rm -rf $GOPATH
|
||||||
godep restore
|
godep restore
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue