commit: bfa8601882f94b74f08971bc5ae0b7751f8ac3d5 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Jun 2 16:28:17 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Jun 2 16:28:17 2020 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=bfa86018
get-git-file: Replace / with : for apache's sake Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> cgi-bin/get-git-file.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cgi-bin/get-git-file.sh b/cgi-bin/get-git-file.sh index 09e0122..9451d1e 100755 --- a/cgi-bin/get-git-file.sh +++ b/cgi-bin/get-git-file.sh @@ -25,7 +25,8 @@ main() { projects=--projects ;; pkg=*) - filter_pkg="--pkg ${q#pkg=}" + pkgs=${q#pkg=} + filter_pkg="--pkg ${pkgs//://}" ;; esac [[ ${qs} == *\;* ]] && qs=${qs#*;} || qs=