[Pkg-samba-maint] r1624 - trunk/ldb/debian

ctrlsoft-guest at alioth.debian.org ctrlsoft-guest at alioth.debian.org
Sun Nov 25 18:18:08 UTC 2007


Author: ctrlsoft-guest
Date: 2007-11-25 18:18:08 +0000 (Sun, 25 Nov 2007)
New Revision: 1624

Modified:
   trunk/ldb/debian/build-orig.sh
Log:
Allow running from other paths.

Modified: trunk/ldb/debian/build-orig.sh
===================================================================
--- trunk/ldb/debian/build-orig.sh	2007-11-25 18:17:43 UTC (rev 1623)
+++ trunk/ldb/debian/build-orig.sh	2007-11-25 18:18:08 UTC (rev 1624)
@@ -2,7 +2,7 @@
 # Build a source tarball for ldb
 
 samba4_repos=svn://svn.samba.org/samba/branches/SAMBA_4_0
-version=$( dpkg-parsechangelog -lldb/debian/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' )
+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




More information about the Pkg-samba-maint mailing list