- 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)
|
*.gz)
|
||||||
gzip -dc "$tarball" | tar xf -
|
gzip -dc "$tarball" | tar xf -
|
||||||
rm -fr cyrus-sasl-*/dlcompat
|
rm -fr cyrus-sasl-*/dlcompat*
|
||||||
tar cf - * | gzip -c > \
|
tar cf - * | gzip -9c > \
|
||||||
$initialdir/`basename $tarball .tar.gz`-nodlcompat.tar.gz
|
$initialdir/`basename $tarball .tar.gz`-nodlcompat.tar.gz
|
||||||
;;
|
;;
|
||||||
*.bz2)
|
*.bz2)
|
||||||
bzip2 -dc "$tarball" | tar xf -
|
bzip2 -dc "$tarball" | tar xf -
|
||||||
rm -fr cyrus-sasl-*/dlcompat
|
rm -fr cyrus-sasl-*/dlcompat*
|
||||||
tar cf - * | bzip2 -c > \
|
tar cf - * | bzip2 -9c > \
|
||||||
$initialdir/`basename $tarball .tar.bz2`-nodlcompat.tar.bz2
|
$initialdir/`basename $tarball .tar.bz2`-nodlcompat.tar.bz2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user