kde-improvements/gen.sh
glen
cvs at pld-linux.org
Fri Jun 9 18:11:43 CEST 2006
Author: glen
Date: Fri Jun 9 18:11:42 2006
New Revision: 7476
Modified:
kde-improvements/gen.sh
Log:
- generic improvements
Modified: kde-improvements/gen.sh
==============================================================================
--- kde-improvements/gen.sh (original)
+++ kde-improvements/gen.sh Fri Jun 9 18:11:42 2006
@@ -1,11 +1,10 @@
#!/bin/sh
-i="${1}"
+i="${1%/}"
if [ -z "$i" ]; then
echo >&2 "Usage: $0 DIR"
exit 1
fi
cd ${i}
-rm -fr *~
-`which tar` cfj ../kdebase-${i}.tar.bz2 ./*.*
-cd ../
+find -name '*~' -print0 | xargs -0r rm -v
+tar -cvjf ../kdebase-${i}.tar.bz2 --exclude=.svn .
More information about the pld-cvs-commit
mailing list