From 77b1140c058f7093d16b81ccb6b84f90f45c0ff4 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Wed, 28 Mar 2012 00:18:32 +1100 Subject: add xz decompression to patch tool --- tools/patch-tool-mingw | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v0.12