blob: 004bea7b20400b662031493634f88eb804c3d0e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
VERSION=$(date +%Y%m%d)
BASE_VERSION="0.0"
PACKAGE="libcxxrt-${BASE_VERSION}_p${VERSION}"
git clone git://github.com/pathscale/libcxxrt.git ${PACKAGE}
find "${PACKAGE}" -type d -name '.svn' -prune -print0 | xargs -0 rm -rf
find "${PACKAGE}" -type d -name '.git' -prune -print0 | xargs -0 rm -rf
tar cJf ${PACKAGE}.tar.xz ${PACKAGE}
rm -rf ${PACKAGE}/
echo "Tarball: \"${PACKAGE}.tar.xz\""
echo "** all done **"
|