I found in the gnu Makefile on Ubuntu (where / bin / sh -> bash)
I needed to use. As well as specify the target script with the prefix ./ (see example below)
the source did not work in this case, not sure why, since it should call / bin / bash ..
My SHELL environment variable is also set to / bin / bash
test: $(shell . ./my_script)
Note that this pattern does not contain a tab character; had to format for sharing stacks.
Gord Wait 07 Oct '15 at 18:28 2015-10-07 18:28
source share