From ed107d0e845144e5f6a819a4da6afbde95f05042 Mon Sep 17 00:00:00 2001 From: Uzair1995 Date: Wed, 17 Oct 2018 11:12:31 +0500 Subject: [PATCH] [scripts/install_tendermint_ubuntu] change /root to local user (#2647) --- scripts/install/install_tendermint_ubuntu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install/install_tendermint_ubuntu.sh b/scripts/install/install_tendermint_ubuntu.sh index 0e1de1177..b9605de07 100644 --- a/scripts/install/install_tendermint_ubuntu.sh +++ b/scripts/install/install_tendermint_ubuntu.sh @@ -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