From 9430565d78e43d04581e99571061847a99a2140e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 7 Jan 2018 16:36:36 -0500 Subject: [PATCH] vcs-url: fix gensub usage --- .bin/vcs-url | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bin/vcs-url b/.bin/vcs-url index f2cd3c9..3c1aa8c 100755 --- a/.bin/vcs-url +++ b/.bin/vcs-url @@ -125,7 +125,7 @@ svn_url() { svn info | \ awk '{ if ($1 == "URL:") { - URL = "http://sources.gentoo.org/" gensub(/.*svnroot\/([^/]*).*/,"\\1",""); + URL = "http://sources.gentoo.org/" gensub(/.*svnroot\/([^/]*).*/, "\\1", 1); } else if ($1 == "Revision:") { rev = $2 URL = URL "?rev=" (rev + 1) "&view=rev" -- 2.39.5