Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qa-scripts:master commit in: cgi-bin/
Date: Tue, 02 Jun 2020 16:28:43
Message-Id: 1591115297.bfa8601882f94b74f08971bc5ae0b7751f8ac3d5.mgorny@gentoo
1 commit: bfa8601882f94b74f08971bc5ae0b7751f8ac3d5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 2 16:28:17 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 2 16:28:17 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=bfa86018
7
8 get-git-file: Replace / with : for apache's sake
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 cgi-bin/get-git-file.sh | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15 diff --git a/cgi-bin/get-git-file.sh b/cgi-bin/get-git-file.sh
16 index 09e0122..9451d1e 100755
17 --- a/cgi-bin/get-git-file.sh
18 +++ b/cgi-bin/get-git-file.sh
19 @@ -25,7 +25,8 @@ main() {
20 projects=--projects
21 ;;
22 pkg=*)
23 - filter_pkg="--pkg ${q#pkg=}"
24 + pkgs=${q#pkg=}
25 + filter_pkg="--pkg ${pkgs//://}"
26 ;;
27 esac
28 [[ ${qs} == *\;* ]] && qs=${qs#*;} || qs=