Skip to content

Commit

Permalink
Fix definition of SEDSCRIPT for macOS
Browse files Browse the repository at this point in the history
macOS comes with GNU Make 3.81 which does not work with the
the old definition, so use a more portable one.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Aug 16, 2023
1 parent f37ab0c commit 67d2b65
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,9 @@ xslt: vendor

# Install ocr-fileformat
define SEDSCRIPT
cat <<"EOF"
/^SHAREDIR=/c\
SHAREDIR="$(SHAREDIR)"
s/VERSION/$(VERSION)/
EOF
echo '/^SHAREDIR=/c\'
echo 'SHAREDIR="$(SHAREDIR)"'
echo 's/VERSION/$(VERSION)/'
endef
export SEDSCRIPT
install: all
Expand Down

0 comments on commit 67d2b65

Please sign in to comment.