[SCM] jacktrip/master: Strip lines that confuse help2man

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Mon Jun 29 08:51:56 UTC 2015


The following commit has been merged in the master branch:
commit b6fbb824a550109b1ce8c8c1ad0cf8764e05b9c5
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Mon Jun 29 08:56:01 2015 +0200

    Strip lines that confuse help2man
    
    `jacktrip -h` uses "====" and "---." lines for layouting,
    which confuses help2man. so we just strip them

diff --git a/debian/jacktrip-help2man b/debian/jacktrip-help2man
index d88caf1..d44bac4 100755
--- a/debian/jacktrip-help2man
+++ b/debian/jacktrip-help2man
@@ -2,7 +2,7 @@
 JACKTRIP=$(pwd)/src/jacktrip
 case "$1" in
   -h|--help)
-    ${JACKTRIP} -h 2>&1 | sed '0,/^-[-]*-$/d'
+    ${JACKTRIP} -h 2>&1 | sed -e '0,/^-[-]*-$/d' -e '/^==*=$/d'
     ;;
   *)
     ${JACKTRIP} $@

-- 
jacktrip packaging



More information about the pkg-multimedia-commits mailing list