aboutsummaryrefslogtreecommitdiffstats
path: root/bin/install_dkg_dep.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/install_dkg_dep.sh')
-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/* .