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

mparent-guest at alioth.debian.org mparent-guest at alioth.debian.org
Sun Jan 20 12:55:57 UTC 2008


Author: mparent-guest
Date: 2008-01-20 12:55:57 +0000 (Sun, 20 Jan 2008)
New Revision: 1698

Added:
   trunk/ctdb/debian/build-orig.sh
Log:
Add script to make tgz


Added: trunk/ctdb/debian/build-orig.sh
===================================================================
--- trunk/ctdb/debian/build-orig.sh	                        (rev 0)
+++ trunk/ctdb/debian/build-orig.sh	2008-01-20 12:55:57 UTC (rev 1698)
@@ -0,0 +1,8 @@
+#!/bin/sh
+# Build a source tarball for ctdb
+rsync -avz samba.org::ftp/unpacked/ctdb .
+CTDB_VERSION=0~`cat ctdb/.bzr/checkout/last-revision | awk -F '-' '{print $2}'`
+mv ctdb ctdb-$CTDB_VERSION
+cd ctdb-$CTDB_VERSION && ./autogen.sh && cd ..
+
+tar -czf ctdb_$CTDB_VERSION.orig.tar.gz ctdb-$CTDB_VERSION




More information about the Pkg-samba-maint mailing list