2016-05-26 16:18:57 +00:00
|
|
|
#!/bin/bash
|
|
|
|
VERSION=`sed -rn 's/^Version:\s*([0-9.]+)/\1/p' aqute-bnd.spec`
|
|
|
|
wget https://github.com/bndtools/bnd/archive/$VERSION.REL.tar.gz
|
|
|
|
gunzip $VERSION.REL.tar.gz
|
2016-10-05 10:48:24 +00:00
|
|
|
tar tf $VERSION.REL.tar | grep -E '\.(.ar|exe|tar\.(gz|bz2|xz)|zip)$' | xargs tar --delete --file $VERSION.REL.tar
|
2016-05-26 16:18:57 +00:00
|
|
|
gzip $VERSION.REL.tar
|