[Pkg-samba-maint] r3130 - trunk/ctdb/debian

sathieu at alioth.debian.org sathieu at alioth.debian.org
Tue Dec 1 22:28:19 UTC 2009


Author: sathieu
Date: 2009-12-01 22:28:19 +0000 (Tue, 01 Dec 2009)
New Revision: 3130

Modified:
   trunk/ctdb/debian/uupdate-wrapper
Log:
debian/uupdate-wrapper can now pull master branch with:
    ./debian/uupdate-wrapper --version master

Modified: trunk/ctdb/debian/uupdate-wrapper
===================================================================
--- trunk/ctdb/debian/uupdate-wrapper	2009-12-01 22:11:20 UTC (rev 3129)
+++ trunk/ctdb/debian/uupdate-wrapper	2009-12-01 22:28:19 UTC (rev 3130)
@@ -13,6 +13,9 @@
 
 #pull source from git
 git clone git://git.samba.org/sahlberg/ctdb.git;h=$git_version
+if [ $2 = 'master' ]; then
+	version=`grep -A 1 '%changelog' ctdb/packaging/RPM/ctdb.spec.in | tail -n1 | sed 's/.* \([0-9\.]\+\)$/\1/'`+git0
+fi
 mv ctdb ctdb-$version.orig
 #clean source
 rm -rf ctdb-$version.orig/.git




More information about the Pkg-samba-maint mailing list