From 508af391fe4252f99600a7ba8e9aa92d468f162a Mon Sep 17 00:00:00 2001 From: ValarDragon Date: Mon, 4 Jun 2018 16:52:19 -0700 Subject: [PATCH] docs: Add disclaimer for install scripts --- docs/guides/sdk/install.md | 2 +- scripts/install_sdk_bsd.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/guides/sdk/install.md b/docs/guides/sdk/install.md index 37faec8293..bafdfc4bde 100644 --- a/docs/guides/sdk/install.md +++ b/docs/guides/sdk/install.md @@ -1,7 +1,7 @@ # Install The fastest and easiest way to install the Cosmos SDK binaries -is to run [this script](https://github.com/cosmos/cosmos-sdk/blob/develop/scripts/install_sdk_ubuntu.sh) on a fresh Ubuntu instance. Similarly, you can run [this script](https://github.com/cosmos/cosmos-sdk/blob/develop/scripts/install_sdk_bsd.sh) on a fresh FreeBSD instance. Read the comments / instructions carefully (i.e., reset your terminal after running the script). +is to run [this script](https://github.com/cosmos/cosmos-sdk/blob/develop/scripts/install_sdk_ubuntu.sh) on a fresh Ubuntu instance. Similarly, you can run [this script](https://github.com/cosmos/cosmos-sdk/blob/develop/scripts/install_sdk_bsd.sh) on a fresh FreeBSD instance. Read the scripts before running them to ensure no untrusted connection is being made, for example we're making curl requests to download golang. Also read the comments / instructions carefully (i.e., reset your terminal after running the script). Cosmos SDK can be installed to `$GOPATH/src/github.com/cosmos/cosmos-sdk` like a normal Go program: diff --git a/scripts/install_sdk_bsd.sh b/scripts/install_sdk_bsd.sh index e0795ca907..2ee812e541 100644 --- a/scripts/install_sdk_bsd.sh +++ b/scripts/install_sdk_bsd.sh @@ -7,6 +7,11 @@ # upon its completion, you must either reset # your terminal or run `source ~/.tcshrc` +# This assumes your installing it through tcsh as root. +# Change the relevant lines from tcsh to csh if your +# installing as a different user, along with changing the +# gopath. + # change this to a specific release or branch set BRANCH=master