summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/patch-tool-mingw1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/patch-tool-mingw b/tools/patch-tool-mingw
index 304e1b7..bebe0fe 100755
--- a/tools/patch-tool-mingw
+++ b/tools/patch-tool-mingw
@@ -44,6 +44,7 @@ function init_git {
cd $gitsdir
echo $pkg_file | grep "\.tar\.gz" >> /dev/null && tar xf $mcedir/pkg/$pkg_file
echo $pkg_file | grep "\.tar\.bz2" >> /dev/null && tar xf $mcedir/pkg/$pkg_file
+ echo $pkg_file | grep "\.tar\.xz" >> /dev/null && xz -dc $mcedir/pkg/$pkg_file | tar xf -
echo $pkg_file | grep "\.zip" >> /dev/null && unzip $mcedir/pkg/$pkg_file >> /dev/null
cd $gitsdir/$pkg_subdir && \
(git init; git add -A; git commit -m "init") > /dev/null