From: "Agostino Sarubbo" <ago@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/ago:master commit in: script/
Date: Wed, 13 Aug 2014 14:45:32 +0000 (UTC) [thread overview]
Message-ID: <1407941045.35fa89fea5a43dc1b0e59227344eb0ed4ee96060.ago@gentoo> (raw)
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
next reply other threads:[~2014-08-13 14:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-13 14:45 Agostino Sarubbo [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-08-13 14:49 [gentoo-commits] dev/ago:master commit in: script/ Agostino Sarubbo
2013-05-05 9:38 Agostino Sarubbo
2013-03-24 17:52 Agostino Sarubbo
2013-01-14 10:20 Agostino Sarubbo
2013-01-14 9:46 Agostino Sarubbo
2013-01-01 14:17 Agostino Sarubbo
2012-12-30 17:16 Agostino Sarubbo
2012-12-30 17:13 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1407941045.35fa89fea5a43dc1b0e59227344eb0ed4ee96060.ago@gentoo \
--to=ago@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox