commit:     303638ac23747f92a44b0e7eaa6821ebcb147aee
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  2 16:19:03 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun  2 16:19:03 2020 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=303638ac

Fix silly thinko

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 cgi-bin/get-git-file.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cgi-bin/get-git-file.sh b/cgi-bin/get-git-file.sh
index ef57a72..09e0122 100755
--- a/cgi-bin/get-git-file.sh
+++ b/cgi-bin/get-git-file.sh
@@ -25,7 +25,7 @@ main() {
                                projects=--projects
                                ;;
                        pkg=*)
-                               filter_pkg="--pkg ${pkg}"
+                               filter_pkg="--pkg ${q#pkg=}"
                                ;;
                esac
                [[ ${qs} == *\;* ]] && qs=${qs#*;} || qs=

Reply via email to