[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6232-g7a3768e
Michael Tautschnig
mt at debian.org
Tue Sep 7 11:17:24 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit 7a3768ecf0fa87571f246fd76388ac13e1378a07
Author: Michael Tautschnig <mt at debian.org>
Date: Tue Sep 7 12:33:48 2010 +0200
Improved split-tarball.sh
- Cleanup llvm stuff
- Remove temporary directory properly
Signed-off-by: Michael Tautschnig <mt at debian.org>
diff --git a/contrib/split-tarball.sh b/contrib/split-tarball.sh
index 566cadd..c290af0 100755
--- a/contrib/split-tarball.sh
+++ b/contrib/split-tarball.sh
@@ -30,6 +30,16 @@ cd clamav-$2+dfsg
# remove win32 stuff, doesn't make sense to ship it
rm -r win32
sed -i 's/ win32//' Makefile.am Makefile.in
+# cleanup llvm
+rm libclamav/c++/llvm/utils/lit/lit/*.pyc
+rm -r libclamav/c++/llvm/{Debug,Release}
+rm -r libclamav/c++/llvm/test/CodeGen/Generic/Output
+rm -r libclamav/c++/llvm/test/CodeGen/X86/Output
+rm -r libclamav/c++/llvm/test/ExecutionEngine/Output
+rm -r libclamav/c++/llvm/test/Integer/Output
+rm libclamav/c++/llvm/test/Unit/{.dir,lit.site.cfg}
+rm libclamav/c++/llvm/test/site.{bak,exp}
+rm libclamav/c++/llvm/test/lit.site.cfg
cp -R libclamunrar_iface $UNRARDIR
mv libclamunrar $UNRARDIR
cp -R m4/ $UNRARDIR
@@ -78,7 +88,7 @@ if [ x$yes != xy ] ; then
mv $UNRARPKG ../ &&
mv $DFSGPKG ../ &&
echo "Ready (untested): $UNRARPKG $DFSGPKG" &&
- rm -rf $TEMP &&
+ cd .. && rm -r $TEMP &&
echo "Removed temporary directory $TEMP" &&
exit 0
exit 30
@@ -135,7 +145,7 @@ if test "0$NDET" -eq "2"; then
mv $UNRARPKG ../ &&
mv $DFSGPKG ../ &&
echo "Ready: $UNRARPKG $DFSGPKG" &&
- rm -rf $TEMP &&
+ cd .. && rm -r $TEMP &&
echo "Removed temporary directory $TEMP" &&
exit 0
exit 30
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list