- actually remove the right subdirectory
- compress with -9
This commit is contained in:
parent
c9bb094f94
commit
b9f2e8ffcd
@ -24,14 +24,14 @@ for tarball in ${initialdir}/cyrus-sasl-*.tar.{gz,bz2} ; do
|
||||
;;
|
||||
*.gz)
|
||||
gzip -dc "$tarball" | tar xf -
|
||||
rm -fr cyrus-sasl-*/dlcompat
|
||||
tar cf - * | gzip -c > \
|
||||
rm -fr cyrus-sasl-*/dlcompat*
|
||||
tar cf - * | gzip -9c > \
|
||||
$initialdir/`basename $tarball .tar.gz`-nodlcompat.tar.gz
|
||||
;;
|
||||
*.bz2)
|
||||
bzip2 -dc "$tarball" | tar xf -
|
||||
rm -fr cyrus-sasl-*/dlcompat
|
||||
tar cf - * | bzip2 -c > \
|
||||
rm -fr cyrus-sasl-*/dlcompat*
|
||||
tar cf - * | bzip2 -9c > \
|
||||
$initialdir/`basename $tarball .tar.bz2`-nodlcompat.tar.bz2
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user