[bamf] 06/14: debian/rules: Fix detection of PKD variable.

Mike Gabriel sunweaver at debian.org
Fri Oct 7 12:04:54 UTC 2016


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

sunweaver pushed a commit to branch master
in repository bamf.

commit d5897c1f2dccbac335dbd516973aee2c353c7c70
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Oct 7 11:33:25 2016 +0200

    debian/rules: Fix detection of PKD variable.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index e5c40d2..e47c596 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed
 export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
 
-PKD   = $(abspath $(dir $(MAKEFILE_LIST)))
+PKD   = $(word 1,$(abspath $(dir $(MAKEFILE_LIST))))
 PKG   = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
 UVER  = $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
 DTYPE =

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



More information about the pkg-mate-commits mailing list