Unix-Text-Processing
Unix-Text-Processing copied to clipboard
Change path to groff and awk in Makefile to use env
I'd suggest changing
GROFF = /usr/bin/groff AWK = /usr/bin/awk
to
GROFF = /usr/bin/env groff AWK = /usr/bin/env awk
I ran into an issue on OS X where when I installed an updated groff via homebrew, because the script was hardcoded to a particular path, it didn't pick up the change.
alohawolf writes:
GROFF = /usr/bin/env groff AWK = /usr/bin/env awk
Why can't you just use the bare commands and let $PATH do its job?
GROFF = groff AWK = awk
Why can't you just use the bare commands and let $PATH do its job? GROFF = groff AWK = awk
You very well could, I'm indifferent - so long as it moves away from a hard coded path