-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
Description
This is making the CLI always install on my Fedora 26 runs (and probably other shells):
Lines 17 to 20 in 51f2c9a
| if [ -e $__BUILD_TOOLS_SEMAPHORE ]; then | |
| echo "Tools are already initialized" | |
| return #return instead of exit because this script is inlined in other scripts which we don't want to exit | |
| fi |
/home/dagood/git/here-source-build/init-tools.sh: line 19: return: can only `return' from a function or sourced script
Two fixes come to mind:
- Wrap the rest of the file with
elserather than trying to early return. - Put the code in a function and keep using
return.
Metadata
Metadata
Assignees
Labels
No labels