From 4ea11149c5370873db94d818dea8fb14dd621d7f Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 13 Dec 2016 14:37:15 -0500 Subject: [PATCH] BSD ls does not have -I; use find --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f4acdfb..1be3068 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ excludes = -I Makefile -I README.md -symlinks = $(shell ls $(excludes) `pwd`) +symlinks = $(shell find . \( ! -iname "Makefile" ! -iname "README.md" ! -iname ".*" ! -path "./.git/*" ! -path "./zsh/*" \) | sed 's|./||') .PHONY: $(symlinks)