Describe the bug
The standard biocommons makefile uses this set of commands for the SHELL variable:
SHELL:=/bin/bash -e -o pipefail -O globstar
However, in this repo (ie the example) the last option is commented out:
SHELL:=/bin/bash -e -o pipefail #-O globstar
This is probably because globstar was introduced in Bash v4, whereas a lot of linux and unix environments, including MacOS, ship with an older version (seems like 3.2 is pretty common). Otherwise, you'll see something like the following:
make venv && source venv/bin/activate && make develop
/bin/bash: line 0: globstar: invalid shell option name
make: *** [devready] Error 2
Expected behavior
I guess the question here is whether or not we want to bend over backwards for the MacOS crowd -- either require them to upgrade bash themselves to use the makefiles, or rewrite the relevant targets (clean etc) to use find or something else that would enable recursing through subdirectories.
Additional context
It looks like the commit that commented that section out was introduced during the hackathon, and I'm not sure if it was meant to be permanent or if people even really noticed it (I didn't).
Describe the bug The standard biocommons makefile uses this set of commands for the SHELL variable:
However, in this repo (ie the example) the last option is commented out:
This is probably because
globstar
was introduced in Bash v4, whereas a lot of linux and unix environments, including MacOS, ship with an older version (seems like 3.2 is pretty common). Otherwise, you'll see something like the following:Expected behavior I guess the question here is whether or not we want to bend over backwards for the MacOS crowd -- either require them to upgrade bash themselves to use the makefiles, or rewrite the relevant targets (
clean
etc) to usefind
or something else that would enable recursing through subdirectories.Additional context It looks like the commit that commented that section out was introduced during the hackathon, and I'm not sure if it was meant to be permanent or if people even really noticed it (I didn't).