# HG changeset patch # User Volker Grabsch # Date 1332942493 -7200 # Node ID 0ac3f45e790f6caafa9077fdac1a18f3c2be6585 # Parent f653602a05005422adfab8af0bf06432839e49da Improve indentation diff -r f653602a0500 -r 0ac3f45e790f tools/patch-tool-mxe --- a/tools/patch-tool-mxe Wed Mar 28 15:46:58 2012 +0200 +++ b/tools/patch-tool-mxe Wed Mar 28 15:48:13 2012 +0200 @@ -42,10 +42,10 @@ # init function init_git { cd $gitsdir - echo $pkg_file | grep "\.tar\.gz" >> /dev/null && tar xf $mxedir/pkg/$pkg_file + echo $pkg_file | grep "\.tar\.gz" >> /dev/null && tar xf $mxedir/pkg/$pkg_file echo $pkg_file | grep "\.tar\.bz2" >> /dev/null && tar xf $mxedir/pkg/$pkg_file echo $pkg_file | grep "\.tar\.xz" >> /dev/null && xz -dc $mxedir/pkg/$pkg_file | tar xf - - echo $pkg_file | grep "\.zip" >> /dev/null && unzip $mxedir/pkg/$pkg_file >> /dev/null + echo $pkg_file | grep "\.zip" >> /dev/null && unzip $mxedir/pkg/$pkg_file >> /dev/null cd $gitsdir/$pkg_subdir && \ (git init; git add -A; git commit -m "init") > /dev/null git tag dist