[zoo-project] 02/03: Set path to debian/changelog explicitly.

Bas Couwenberg sebastic at debian.org
Sat Jan 21 13:30:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository zoo-project.

commit 9c0ea0a1561ce3ffd1c80c9f5bf9017ce59174fc
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jan 21 13:40:52 2017 +0100

    Set path to debian/changelog explicitly.
---
 debian/patches/zoo-version.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/zoo-version.patch b/debian/patches/zoo-version.patch
index 9732bc2..dc386f6 100644
--- a/debian/patches/zoo-version.patch
+++ b/debian/patches/zoo-version.patch
@@ -10,7 +10,7 @@ Forwarded: not-needed
  
  version.h: Makefile
 -	echo "#define ZOO_VERSION \"1.6.0 `svnversion`\"" > version.h
-+	echo "#define ZOO_VERSION \"`dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/.*+svn//; s/+ds[0-9]*//; s/^[0-9]://'`\"" > version.h
++	echo "#define ZOO_VERSION \"`dpkg-parsechangelog -l ../../debian/changelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/.*+svn//; s/+ds[0-9]*//; s/^[0-9]://'`\"" > version.h
  	echo "@ETC_DEF@" >> version.h
  	echo "#define LOCALEDIR \"@localedir@\"" >>  version.h
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/zoo-project.git



More information about the Pkg-grass-devel mailing list