aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2013-10-05 21:36:34 +0200
committerMarkus Meier <maekke@gentoo.org>2013-10-05 21:36:34 +0200
commit515a131312ac74492adb31606c916523c4a6c6c5 (patch)
tree7b5bddb2b57f59ec01b4ad348ce6424cd2e4e54c /scripts
parentdo not display subslot (diff)
downloadmaekke-515a131312ac74492adb31606c916523c4a6c6c5.tar.gz
maekke-515a131312ac74492adb31606c916523c4a6c6c5.tar.bz2
maekke-515a131312ac74492adb31606c916523c4a6c6c5.zip
remove '=' for qatom usage as it is appended to the output (and here interpreted as revision)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/keyword.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/keyword.sh b/scripts/keyword.sh
index 208101c..3d96ed8 100755
--- a/scripts/keyword.sh
+++ b/scripts/keyword.sh
@@ -56,7 +56,7 @@ for pkg in ${pkgs} ; do
pkgno=$(( ${pkgno} + 1 ))
echo ">>> processing: ${pkg} (${pkgno}/$#)"
declare -a qatom
- qatom=($(qatom ${pkg}))
+ qatom=($(qatom ${pkg/=/}))
[[ ${qatom#} < 2 ]] && die "invalid atom ${pkg}"
category=${qatom[0]/=}
pn=${qatom[1]}