diff options
author | Tony Theodore <tonyt@logyst.com> | 2016-07-17 02:44:48 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2016-07-17 02:44:48 (GMT) |
commit | 09bea83f83129e0de809147858ac76e5bc46d872 (patch) | |
tree | fb3bf564b845f72b56c43ba03d4231ae7fd74f14 | |
parent | a4a33f258102d28efa209dfc72bd06a7c5cc858a (diff) | |
download | mxe-09bea83f83129e0de809147858ac76e5bc46d872.zip mxe-09bea83f83129e0de809147858ac76e5bc46d872.tar.gz mxe-09bea83f83129e0de809147858ac76e5bc46d872.tar.bz2 |
patch.mk: portability fix for gsed
-rw-r--r-- | patch.mk | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -34,8 +34,8 @@ endef define IMPORT_PATCH cd '$(call GIT_DIR,$(1))' \ && cat '$(2)' \ - | sed '/^From/,$$ !d' \ - | sed s/'^From: MXE'/"From: fix@me"/'g;' \ + | $(SED) '/^From/,$$ !d' \ + | $(SED) s/'^From: MXE'/"From: fix@me"/'g;' \ | $(call GIT_CMD,$(1)) am --keep-cr ; endef @@ -55,8 +55,8 @@ define EXPORT_PATCH --text \ -M9 \ dist..HEAD \ - | sed 's/^From [0-9a-f]\{40\} /From 0000000000000000000000000000000000000000 /' \ - | sed 's/^index .......\.\......../index 1111111..2222222/' \ + | $(SED) 's/^From [0-9a-f]\{40\} /From 0000000000000000000000000000000000000000 /' \ + | $(SED) 's/^index .......\.\......../index 1111111..2222222/' \ ) > '$(PATCH_BY_NAME)' endef |