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
This commit is contained in:
parent
0bf553142c
commit
7a68e64162
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue