diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2016-01-05 14:23:38 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2016-01-08 12:39:41 (GMT) |
commit | adb07e2153696a9ef4c9b4a8cc931054e0788fdf (patch) | |
tree | 5c45b1773aef2a77e39e51989f48c73ee19ece7f /tools | |
parent | a516d920efaeb18de81bc38c70064b7c9a111453 (diff) | |
download | mxe-adb07e2153696a9ef4c9b4a8cc931054e0788fdf.zip mxe-adb07e2153696a9ef4c9b4a8cc931054e0788fdf.tar.gz mxe-adb07e2153696a9ef4c9b4a8cc931054e0788fdf.tar.bz2 |
patch-tool-mxe can import all patches of a package
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/patch-tool-mxe | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/patch-tool-mxe b/tools/patch-tool-mxe index cdc9614..b7720e6 100755 --- a/tools/patch-tool-mxe +++ b/tools/patch-tool-mxe @@ -27,6 +27,11 @@ function import_patch { make -C $mxedir import-patch-$pkg PATCH_NAME=${patch_name} } +function import_all_patches { + setupEnv + make -C $mxedir import-all-patches-$pkg +} + case "$cmd" in init) init_git $pkg @@ -34,6 +39,9 @@ case "$cmd" in import) import_patch $pkg ;; + import-all) + import_all_patches $pkg + ;; export) export_patch $pkg ;; @@ -44,6 +52,7 @@ case "$cmd" in where COMMAND is one of: init - create a git directory for the package with the raw source import - apply the "pkgname-PATCHNAME.patch" patch commits + import-all - apply commits from all the patches of the package export - create/replace the "pkgname-PATCHNAME.patch" patch with a patch of all commits since init. If PATCHNAME is not set, it is default to "1-fixes". |