commit: 35fa89fea5a43dc1b0e59227344eb0ed4ee96060
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 13 14:44:05 2014 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Aug 13 14:44:05 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=dev/ago.git;a=commit;h=35fa89fe
more logical var names
---
script/kde_repoman_check.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/script/kde_repoman_check.sh b/script/kde_repoman_check.sh
index e948756..39019d9 100755
--- a/script/kde_repoman_check.sh
+++ b/script/kde_repoman_check.sh
@@ -2,15 +2,15 @@
MY_PORTDIR="$( portageq envvar PORTDIR )"
-for k in kde-base kde-misc
+for category in kde-base kde-misc
do
- for i in $( ls "${MY_PORTDIR}"/"${k}"/ | grep -v "metadata\.xml" )
+ for package in $( ls "${MY_PORTDIR}"/"${category}"/ | grep -v
"metadata\.xml" )
do
- cd "${MY_PORTDIR}"/${k}/"${i}"
+ cd "${MY_PORTDIR}"/"${category}"/"${package}"
result="$( repoman full > /dev/null 2>&1 )"
- if [ "${?}" = "1" ]
+ if [ "${?}" != "0" ]
then
- echo "The package "${k}"/"${i}" has the following
problem:"
+ echo "The package "${category}"/"${package}" has the
following problem:"
repoman full
fi
done