[med-svn] [Git][med-team/community/package_template][master] Cope with ending '/' in github urls
Andreas Tille
gitlab at salsa.debian.org
Tue Jul 2 07:12:40 BST 2019
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190702/43890e66/attachment.html>
More information about the debian-med-commit
mailing list