Browse Source

[scripts/install_tendermint_ubuntu] change /root to local user (#2647)

pull/2650/head
Uzair1995 6 years ago
committed by Anton Kaliaev
parent
commit
ed107d0e84
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      scripts/install/install_tendermint_ubuntu.sh

+ 2
- 2
scripts/install/install_tendermint_ubuntu.sh View File

@ -22,12 +22,12 @@ curl -O https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz
tar -xvf go1.10.linux-amd64.tar.gz
# move go binary and add to path
mv go /usr/local
sudo mv go /usr/local
echo "export PATH=\$PATH:/usr/local/go/bin" >> ~/.profile
# create the goApps directory, set GOPATH, and put it on PATH
mkdir goApps
echo "export GOPATH=/root/goApps" >> ~/.profile
echo "export GOPATH=$HOME/goApps" >> ~/.profile
echo "export PATH=\$PATH:\$GOPATH/bin" >> ~/.profile
source ~/.profile


Loading…
Cancel
Save