mxe.patch: workaround number of digits in git format patch

for some reason `--abbrev` does nothing on darwin (macports) git

sed pattern change is likely to be flaky
This commit is contained in:
Tony Theodore 2018-03-17 20:41:15 +11:00
parent 35fa487de3
commit b7f99a594a
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ define EXPORT_PATCH
-M9 \
dist..HEAD \
| $(SED) 's/^From [0-9a-f]\{40\} /From 0000000000000000000000000000000000000000 /' \
| $(SED) 's/^index .......\.\......../index 1111111..2222222/' \
| $(SED) 's/^index .......*\.\........* /index 1111111..2222222 /' \
) > '$(PATCH_BY_NAME)'
endef