diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-02 18:28:17 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-02 18:28:17 +0200 |
commit | bfa8601882f94b74f08971bc5ae0b7751f8ac3d5 (patch) | |
tree | de40ddbce76e7b31d9e19c80da9b4d0346a64844 /cgi-bin/get-git-file.sh | |
parent | Fix silly thinko (diff) | |
download | qa-scripts-bfa8601882f94b74f08971bc5ae0b7751f8ac3d5.tar.gz qa-scripts-bfa8601882f94b74f08971bc5ae0b7751f8ac3d5.tar.bz2 qa-scripts-bfa8601882f94b74f08971bc5ae0b7751f8ac3d5.zip |
get-git-file: Replace / with : for apache's sake
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'cgi-bin/get-git-file.sh')
-rwxr-xr-x | cgi-bin/get-git-file.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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= |