~sourcemage/quill

4668bcd70ba8af87da7349d3d684b34a4dbc64fa — Ismael Luceno 6 years ago 7fde6d5
quill: Fix parsing of Github URLs
1 files changed, 4 insertions(+), 0 deletions(-)

M usr/bin/quill
M usr/bin/quill => usr/bin/quill +4 -0
@@ 103,6 103,10 @@ if [[ -z $QUILL_TARGET ]]; then
      SPELL_SRC_URL="$1"
      QUILL_ORIG_TARGET=$(sed -r 's@\.git$@@;s@.*/@@' <<< "$1")
      ;;
    https://github.com/*/archive/*)
      SPELL_SRC_URL="$1"
      QUILL_ORIG_TARGET=$(awk -F/ '{print $(NF-2)}' <<< "$1")
      ;;
    *:*)
      SPELL_SRC_URL="$1"
      QUILL_ORIG_TARGET=$(sed -r '