mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 10:16:32 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user