Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snarkyboojum/503392 to your computer and use it in GitHub Desktop.
Save snarkyboojum/503392 to your computer and use it in GitHub Desktop.
From 087b2ad9dd4629fcfede65aa28c2cbc3d9bde9fb Mon Sep 17 00:00:00 2001
From: snarkyboojum <snarkyboojum@gmail.com>
Date: Sun, 1 Aug 2010 23:57:49 +1000
Subject: [PATCH] [Makefile] Changed find command to build MANIFEST
Replaced the -printf option to find with a pipe to sed to support
OS X find where -printf isn't a supported option, frettled++
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index d8198db..4aae8a0 100644
--- a/Makefile
+++ b/Makefile
@@ -76,7 +76,7 @@ $(DISTDIR)/Configure.pl: build/Configure.pl
$(DISTDIR)/MANIFEST:
touch $(DISTDIR)/MANIFEST
- find $(DISTDIR) -name '.*' -prune -o -type f -printf '%P\n' >$(DISTDIR)/MANIFEST
+ find $(DISTDIR) -name '.*' -prune -o -type f | sed -e 's|^[^/]*/||' >$(DISTDIR)/MANIFEST
## add the two dot-files from Parrot MANIFEST
echo "$(PARROT)/.gitignore" >>$(DISTDIR)/MANIFEST
echo "$(PARROT)/tools/dev/.gdbinit" >>$(DISTDIR)/MANIFEST
--
1.7.0.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment