diff options
author | Tony Theodore <tonyt@logyst.com> | 2012-03-27 13:18:32 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2012-03-27 13:18:32 (GMT) |
commit | 77b1140c058f7093d16b81ccb6b84f90f45c0ff4 (patch) | |
tree | 86d99a1653bddf03a8b583b3c161d974fdcfc03b /tools | |
parent | 8aafe30c082fe6478766d0d9d64ccb9dca460058 (diff) | |
download | mxe-77b1140c058f7093d16b81ccb6b84f90f45c0ff4.zip mxe-77b1140c058f7093d16b81ccb6b84f90f45c0ff4.tar.gz mxe-77b1140c058f7093d16b81ccb6b84f90f45c0ff4.tar.bz2 |
add xz decompression to patch tool
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/patch-tool-mingw | 1 |
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 |