Closed
Description
Running into an issue during installation
curl -sLk https://raw.githubusercontent.com/kevincobain2000/gobrew/master/git.io.sh | sh
+ GOBREW_BIN_DIR=/Users/tdurward/.gobrew/bin
sh: line 8: GOBREW_ROOT: unbound variable
Looks like there was a recent change to the install script (git.io.sh
) that added pipefail
, with the flag -u
, which treats unset variables as errors.
bbb18aa#diff-727c8d35769984ee976f3371533d1535e636f4a80a2b7b09826d98a2ef1f7071R3
I was able to fix this locally by modifying the following...
- if [ -n "$GOBREW_ROOT" ]; then
+ if [ -n "${GOBREW_ROOT:-}" ]; then
GOBREW_BIN_DIR=$GOBREW_ROOT/.gobrew/bin
fi
I should also mention that I'm running on Bash version 5.2.32
.
Metadata
Assignees
Labels
No labels
Activity