From 7a68e64162972aaa3ceab0c3ef47dbdfebdf4151 Mon Sep 17 00:00:00 2001
From: fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>
Date: Sat, 8 Dec 2007 23:00:40 +0000
Subject: [PATCH] Use \{0,1\} instead of \? in sed, so it works on BSD/Mac OSX
 too.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1144 788f1e2b-df1e-0410-8736-df70ead52e1b
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a42bd7a1e..168bd744b 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ CONFIGURE := configure
 PKG       := $(shell sed -ne 's/^[Nn]ame:[[:space:]]*//p' $(CABAL) | tr A-Z a-z)
 VERSION   := $(shell sed -ne 's/^[Vv]ersion:[[:space:]]*//p' $(CABAL))
 PKGID     := $(PKG)-$(VERSION)
-EXECSBASE := $(shell sed -ne 's/^[Ee]xecutable:\?[[:space:]]*//p' $(CABAL))
+EXECSBASE := $(shell sed -ne 's/^[Ee]xecutable:\{0,1\}[[:space:]]*//p' $(CABAL))
 
 #-------------------------------------------------------------------------------
 # Install targets