Skip to content

Commit

Permalink
Try to force MacOS to find tar and awk in Brew's locations first
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerb9 committed Mar 14, 2024
1 parent f3a7ebc commit 588d32b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,10 @@ tokenize:
# Unfortunately, MacOS is recalcitrant.
UNAME := $(shell uname)
ifeq ($(UNAME), Darwin)
PATH := "/usr/local/opt/gawk/libexec/gnubin:$PATH"
PATH := "/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"
gnuxform :=
else
gnuxform := --xform 's%^%m100le/%'
export PATH := /usr/local/opt/gawk/libexec/gnubin:$(PATH)
export PATH := /usr/local/opt/gnu-tar/libexec/gnubin:$(PATH)
endif
gnuxform := --xform 's%^%m100le/%'

### Create an archive of the final product for distribution.
archivefiles := M100LE.BA M100LE+comments.DO WL*.CO README.md
Expand Down

0 comments on commit 588d32b

Please sign in to comment.