[Pkg-samba-maint] r1630 - trunk/ldb/debian
ctrlsoft-guest at alioth.debian.org
ctrlsoft-guest at alioth.debian.org
Sun Nov 25 19:09:01 UTC 2007
Author: ctrlsoft-guest
Date: 2007-11-25 19:09:01 +0000 (Sun, 25 Nov 2007)
New Revision: 1630
Modified:
trunk/ldb/debian/build-orig.sh
Log:
Fix handling of releases.
Modified: trunk/ldb/debian/build-orig.sh
===================================================================
--- trunk/ldb/debian/build-orig.sh 2007-11-25 19:03:58 UTC (rev 1629)
+++ trunk/ldb/debian/build-orig.sh 2007-11-25 19:09:01 UTC (rev 1630)
@@ -1,19 +1,19 @@
#!/bin/sh
# Build a source tarball for ldb
-samba4_repos=svn://svn.samba.org/samba/branches/SAMBA_4_0
+samba_repos=svn://svn.samba.org/samba/
version=$( dpkg-parsechangelog -l`dirname $0`/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' )
if echo $version | grep svn > /dev/null; then
# SVN Snapshot
revno=`echo $version | sed 's/^[0-9.]\+~svn//'`
- svn export -r$revno $samba4_repos/source/lib/ldb ldb-$version
- svn export -r$revno $samba4_repos/source/lib/replace ldb-$version/libreplace
- svn export -r$revno $samba4_repos/source/lib/talloc ldb-$version/libtalloc
- svn export -r$revno $samba4_repos/source/lib/tdb ldb-$version/libtdb
+ svn export -r$revno $samba_repos/branches/SAMBA_4_0/source/lib/ldb ldb-$version
+ svn export -r$revno $samba_repos/branches/SAMBA_4_0/source/lib/replace ldb-$version/libreplace
+ svn export -r$revno $samba_repos/branches/SAMBA_4_0/source/lib/talloc ldb-$version/libtalloc
+ svn export -r$revno $samba_repos/branches/SAMBA_4_0/source/lib/tdb ldb-$version/libtdb
else
# Release
- svn export $samba4_repos/../../tags/LDB_`echo $version | sed 's/\./_/g'` ldb-$version
+ svn export $samba_repos/tags/LDB_`echo $version | sed 's/\./_/g'` ldb-$version
fi
cd ldb-$version && ./autogen.sh && cd ..
More information about the Pkg-samba-maint
mailing list