[med-svn] [Git][med-team/community/helper-scripts][master] Obtain program name from first binary package

Andreas Tille gitlab at salsa.debian.org
Wed Oct 24 08:00:31 BST 2018


Andreas Tille pushed to branch master at Debian Med / community / helper-scripts


Commits:
0fa9880d by Andreas Tille at 2018-10-24T07:00:10Z
Obtain program name from first binary package

- - - - -


1 changed file:

- createmanpages


Changes:

=====================================
createmanpages
=====================================
@@ -4,7 +4,7 @@ mkdir -p $MANDIR
 
 VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'`
 NAME=`grep "^Description:" debian/control | sed 's/^Description: *//' | head -n1`
-PROGNAME=`grep "^Package:" debian/control | sed 's/^Package: *//'`
+PROGNAME=`grep "^Package:" debian/control | sed 's/^Package: *//' | head -n1`
 
 AUTHOR=".SH AUTHOR\nThis manpage was written by $DEBFULLNAME for the Debian distribution and
 can be used for any other usage of the program.



View it on GitLab: https://salsa.debian.org/med-team/community/helper-scripts/commit/0fa9880dcc20cdfc359fd64e8c763fa4109b12c5

-- 
View it on GitLab: https://salsa.debian.org/med-team/community/helper-scripts/commit/0fa9880dcc20cdfc359fd64e8c763fa4109b12c5
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20181024/2a6d594c/attachment-0001.html>


More information about the debian-med-commit mailing list