[bullet] 05/20: Simplify the determination of the VER variable.

Markus Koschany apo-guest at moszumanska.debian.org
Fri May 8 23:13:44 UTC 2015


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

apo-guest pushed a commit to branch master
in repository bullet.

commit e9495aa4be6cb6f8ef6c786803e491768770a3d3
Author: Markus Koschany <apo at gambaru.de>
Date:   Wed May 6 13:40:39 2015 +0200

    Simplify the determination of the VER variable.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index bc2f4ec..f4534b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 DPATH := $(abspath $(dir $(MAKEFILE_LIST)))
 DTYPE := +dfsg
 PKG := bullet
-VER ?= $(shell dpkg-parsechangelog -l$(DPATH)/changelog | perl -ne 'print $$1 if m{Version:\s*(\d[\d\.]*(?:-r(?:ev)?\d+))}')
+VER ?= $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | cut -d- -f1)
 
 VERSION=2.83
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/bullet.git



More information about the Pkg-games-commits mailing list