summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/patch-tool-mxe3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/patch-tool-mxe b/tools/patch-tool-mxe
index a827710..2bbb64b 100755
--- a/tools/patch-tool-mxe
+++ b/tools/patch-tool-mxe
@@ -99,7 +99,8 @@ function export_patch {
-p \
--no-signature \
--stdout \
- dist..HEAD
+ dist..HEAD | \
+ sed 's/^index .......\.\......../index 0000000..0000000/'
) > $mxedir/src/${pkg}-${patch_name}.patch && \
echo "Generated ${mxedir}/src/${pkg}-${patch_name}.patch"
}