Andreas Tille pushed to branch master at Debian Med / community / 
package_template


Commits:
b28ccce8 by Andreas Tille at 2019-07-02T06:12:16Z
Cope with ending '/' in github urls

- - - - -


1 changed file:

- personalise_template


Changes:

=====================================
personalise_template
=====================================
@@ -19,7 +19,7 @@ fi
 
 if echo "$1" | grep -q '^http.*://' ; then
   PHOMEPAGE="$1"
-  PKG=$(echo "$1" | sed 's#^.*/\([^/]\+\)$#\1#' | tr '[:upper:]' '[:lower:]')
+  PKG=$(echo "$1" | sed 's#^.*/\([^/]\+\)/*$#\1#' | tr '[:upper:]' '[:lower:]')
   echo PKG="$PKG"
 else
   PHOMEPAGE=""



View it on GitLab: 
https://salsa.debian.org/med-team/community/package_template/commit/b28ccce8011e4d05c0808b453bf6e571e5970de9

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/community/package_template/commit/b28ccce8011e4d05c0808b453bf6e571e5970de9
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
debian-med-com...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to