[Pkg-samba-maint] r1631 - trunk/talloc/debian
ctrlsoft-guest at alioth.debian.org
ctrlsoft-guest at alioth.debian.org
Sun Nov 25 19:09:07 UTC 2007
Author: ctrlsoft-guest
Date: 2007-11-25 19:09:07 +0000 (Sun, 25 Nov 2007)
New Revision: 1631
Modified:
trunk/talloc/debian/build-orig.sh
Log:
Fix handling of releases.
Modified: trunk/talloc/debian/build-orig.sh
===================================================================
--- trunk/talloc/debian/build-orig.sh 2007-11-25 19:09:01 UTC (rev 1630)
+++ trunk/talloc/debian/build-orig.sh 2007-11-25 19:09:07 UTC (rev 1631)
@@ -1,17 +1,17 @@
#!/bin/sh
# Build a source tarball for talloc
-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/talloc talloc-$version
- svn export -r$revno $samba4_repos/source/lib/replace talloc-$version/libreplace
+ svn export -r$revno $samba_repos/branches/SAMBA_4_0/source/lib/talloc talloc-$version
+ svn export -r$revno $samba_repos/branches/SAMBA_4_0/source/lib/replace talloc-$version/libreplace
else
# Release
- svn export $samba4_repos/../../tags/TALLOC_`echo $version | sed 's/\./_/g'` talloc-$version
+ svn export $samba_repos/tags/TALLOC_`echo $version | sed 's/\./_/g'` talloc-$version
fi
cd talloc-$version && ./autogen.sh && cd ..
More information about the Pkg-samba-maint
mailing list