Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit 5b93010

Browse files
authored
Merge pull request #1119 from Random-Liu/cherrypick-#1118-release-1.0
Cherrypick #1118 release 1.0
2 parents f8171b4 + 92c1be7 commit 5b93010

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hack/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ from-vendor() {
8181
BEGIN { rc=1 } # Assume we did not find what we were looking for.
8282
// {
8383
if ($1 == REPO) {
84-
if ($3 != "") { REPO = $3 }; # Override repo.
84+
if ($3 != "" && $3 !~ /#.*/ ) { gsub(/http.*\/\//, "", $3); REPO = $3 }; # Override repo.
8585
printf("%s_VERSION=%s; %s_REPO=%s\n", WHAT, $2, WHAT, REPO);
8686
rc=0; # Note success for use in END block.
8787
exit # No point looking further.

0 commit comments

Comments
 (0)