From 360a88aee800d25a942aeb8917e9b6ef0690aa27 Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Tue, 9 Oct 2018 21:07:01 +0800 Subject: simulation: Fix docker build fail (#188) --- bin/install_dkg_dep.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/install_dkg_dep.sh') diff --git a/bin/install_dkg_dep.sh b/bin/install_dkg_dep.sh index 56ac6b3..40ae2be 100755 --- a/bin/install_dkg_dep.sh +++ b/bin/install_dkg_dep.sh @@ -4,7 +4,6 @@ if [ -e .dep/dkg ]; then exit 0 fi -rm -rf vendor/github.com/herumi/* if [ ! -d .dep/dkg ]; then mkdir -p .dep/dkg cd .dep/dkg @@ -17,4 +16,5 @@ if [ ! -d .dep/dkg ]; then make test_go -j cd ../../../ fi -cp -r .dep/dkg/* vendor/github.com/Spiderpowa +cd vendor/github.com/Spiderpowa && rm -rf * +ln -s ../../../.dep/dkg/* . -- cgit v1.2.3