Skip to content

Commit

Permalink
Update template.am: consider not declared URLs as github-based
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Jul 2, 2024
1 parent 7d38317 commit cb332b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/template.am
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ while [ -n "$1" ]; do
_template_then_github_source
elif echo "$RESPONSE" | grep -q "sourceforge"; then
_template_if_sourceforge
elif ! echo "$RESPONSE" | grep -q "://"; then
_template_then_github_source
else
_template_if_hosted_elsewhere
fi
Expand Down Expand Up @@ -396,6 +398,8 @@ while [ -n "$1" ]; do
_template_then_github_source
elif echo "$RESPONSE" | grep -q "sourceforge"; then
_template_if_sourceforge
elif ! echo "$RESPONSE" | grep -q "://"; then
_template_then_github_source
else
_template_if_hosted_elsewhere
fi
Expand Down

0 comments on commit cb332b4

Please sign in to comment.