summaryrefslogtreecommitdiffstats
path: root/makedist
diff options
context:
space:
mode:
Diffstat (limited to 'makedist')
-rwxr-xr-xmakedist2
1 files changed, 1 insertions, 1 deletions
diff --git a/makedist b/makedist
index 89567da..7ead17a 100755
--- a/makedist
+++ b/makedist
@@ -21,7 +21,7 @@ then
exit 1
fi
trap "rm $target/$base; exit" 1 2 3
-( cd .. ; ln -s mdadm mdadm-$version ; tar czhvf - --exclude='*,v' --exclude='*.o' --exclude mdadm --exclude=RCS mdadm-$version ; rm mdadm-$version ) > $target/$base
+( cd .. ; ln -s mdadm mdadm-$version ; tar chvf - --exclude='*,v' --exclude='*.o' --exclude mdadm --exclude=mdadm'.[^ch0-9]' --exclude=RCS mdadm-$version ; rm mdadm-$version ) | gzip --best > $target/$base
chmod a+r $target/$base
ls -l $target/$base