Skip to content

Commit

Permalink
Merge pull request #10 from khinsen/fix-for-macos
Browse files Browse the repository at this point in the history
Make sed usage compatible with BSD-style seds
  • Loading branch information
tuxor1337 authored Apr 1, 2018
2 parents ab8125d + 25b238e commit d26f22d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ all: $(HOST_TARGETS)
@touch $@

$(HOST_TARGETS): $(TARGET_DIR)/%: $(SRC_DIR)/% $(TARGET_DIR)/.d
cp $(SRC_DIR)/$* $@
sed -i "s/_VERSIONHOLDER_/$(VERSION)/g" $@
sed -e "s/_VERSIONHOLDER_/$(VERSION)/g" < $(SRC_DIR)/$* > $@

clean:
rm -rf $(TARGET_DIR)
Expand Down

0 comments on commit d26f22d

Please sign in to comment.