From 9107240519d20c2fb6a6ca3ff9047864bfcaa83c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 15 Aug 2016 13:50:32 +0100 Subject: [PATCH] GOPATH --- src/freedombone-app-ipfs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/freedombone-app-ipfs b/src/freedombone-app-ipfs index 0f6e4d58..239d8e8f 100755 --- a/src/freedombone-app-ipfs +++ b/src/freedombone-app-ipfs @@ -387,6 +387,13 @@ function mesh_install_ipfs_go { cat < ${rootdir}/root/install_ipfs_go.sh #!/bin/bash +export GOPATH=$GOPATH + +if [ ${#GOPATH} -lt 1 ]; then + echo $'GOPATH was not set' + exit 62925 +fi + if [ ! -d /home/git ]; then adduser --disabled-login --gecos 'Gogs' git