aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-02 18:28:17 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-02 18:28:17 +0200
commitbfa8601882f94b74f08971bc5ae0b7751f8ac3d5 (patch)
treede40ddbce76e7b31d9e19c80da9b4d0346a64844
parentFix silly thinko (diff)
downloadqa-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>
-rwxr-xr-xcgi-bin/get-git-file.sh3
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=