update devnet install.sh, add remove 0gchaind binary before install

This commit is contained in:
Solovyov1796 2024-06-20 13:24:43 +08:00
parent 00a3900b49
commit 269253c99e

View File

@ -13,6 +13,7 @@ if [[ $? -ne 0 ]]; then
# Make under root dir # Make under root dir
SCRIPT_DIR=`dirname "${BASH_SOURCE[0]}"` SCRIPT_DIR=`dirname "${BASH_SOURCE[0]}"`
cd $SCRIPT_DIR/../.. cd $SCRIPT_DIR/../..
rm -rf $(go env GOPATH)/bin/0gchaind
make install make install
# Add gopath to path # Add gopath to path