Author: oget
Update of /cvs/free/rpms/kplayer/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv6538
Modified Files:
sources
Added Files:
kplayer-snapshot.sh
Log Message:
No need to export the kplayer-snapshot.sh script to the lookaside cache.
Commited it directly to CVS
--- NEW FILE kplayer-snapshot.sh ---
#!/bin/bash
set -e
tmp=$(mktemp -d)
trap cleanup EXIT
cleanup() {
set +e
[ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
}
unset CDPATH
pwd=$(pwd)
cvs=$(date +%Y%m%d)cvs
name=kplayer
cd "$tmp"
cvs -z3 -d:pserver:anonymous@kplayer.cvs.sourceforge.net:/cvsroot/kplayer export -D $(date
+%Y%m%d) $name
cd $name
version=$(cat ChangeLog |grep release|awk '{print $1}'|awk 'NR == 1')
cd ..
tar jcf "$pwd"/$name-$version-$cvs.tar.bz2 $name
echo "Written: $name-$version-$cvs.tar.bz2"
cd - >/dev/null
Index: sources
===================================================================
RCS file: /cvs/free/rpms/kplayer/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources 12 Dec 2008 05:27:46 -0000 1.4
+++ sources 12 Dec 2008 05:37:18 -0000 1.5
@@ -1,2 +1 @@
637c4783500b5f0848410f106b10fb45 kplayer-0.7.0-20081211cvs.tar.bz2
-03665d50113a82abac2fefeef807b97f kplayer-snapshot.sh
Show replies by date