Skip to content

Commit 7206d05

Browse files
committed
chore(go): change GOPATH
1 parent 8d520dc commit 7206d05

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

stacks/go/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ function build() {
99
curl -L -o /opt/drycc/tmp.tar.gz https://go.dev/dl/go"${STACK_VERSION}".linux-"${OS_ARCH}".tar.gz
1010
cd /opt/drycc && tar -xzf tmp.tar.gz && rm -rf tmp.tar.gz && cd -
1111
cat << EOF >> "${PROFILE_DIR}"/go.sh
12-
export GOPATH="/opt/drycc/go"
12+
export GOPATH=\$HOME/go
13+
export PATH=\$PATH:\$GOPATH/bin
1314
EOF
1415
cp -rf /opt/drycc/go/* ${DATA_DIR}
1516
}

0 commit comments

Comments
 (0)