aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-10-09 21:07:01 +0800
committerGitHub <noreply@github.com>2018-10-09 21:07:01 +0800
commit360a88aee800d25a942aeb8917e9b6ef0690aa27 (patch)
tree900ad1e1c3cb6440abcf50fea108e3c13e25f78a /bin
parent599d410e062f3b04763c628d1eb4815ff6d4d109 (diff)
downloaddexon-consensus-360a88aee800d25a942aeb8917e9b6ef0690aa27.tar
dexon-consensus-360a88aee800d25a942aeb8917e9b6ef0690aa27.tar.gz
dexon-consensus-360a88aee800d25a942aeb8917e9b6ef0690aa27.tar.bz2
dexon-consensus-360a88aee800d25a942aeb8917e9b6ef0690aa27.tar.lz
dexon-consensus-360a88aee800d25a942aeb8917e9b6ef0690aa27.tar.xz
dexon-consensus-360a88aee800d25a942aeb8917e9b6ef0690aa27.tar.zst
dexon-consensus-360a88aee800d25a942aeb8917e9b6ef0690aa27.zip
simulation: Fix docker build fail (#188)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/install_dkg_dep.sh4
1 files changed, 2 insertions, 2 deletions
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/* .