summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Stein <jstein@gentoo.org>2018-04-10 12:24:02 +0200
committerJonas Stein <jstein@gentoo.org>2018-04-10 12:25:08 +0200
commit4fe73b0e0c9d639a57a853840efdcb7d33480ab3 (patch)
treed695b44dd7ec0cfc9c8a644da177f6175f549e50 /media-tv/xmltv
parentmedia-tv/xmltv: Drop superfluous comments (diff)
downloadgentoo-4fe73b0e0c9d639a57a853840efdcb7d33480ab3.tar.gz
gentoo-4fe73b0e0c9d639a57a853840efdcb7d33480ab3.tar.bz2
gentoo-4fe73b0e0c9d639a57a853840efdcb7d33480ab3.zip
media-tv/xmltv: Declare local variable
Declare local variable Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'media-tv/xmltv')
-rw-r--r--media-tv/xmltv/xmltv-0.5.67.ebuild7
-rw-r--r--media-tv/xmltv/xmltv-0.5.68.ebuild1
-rw-r--r--media-tv/xmltv/xmltv-0.5.70.ebuild1
3 files changed, 6 insertions, 3 deletions
diff --git a/media-tv/xmltv/xmltv-0.5.67.ebuild b/media-tv/xmltv/xmltv-0.5.67.ebuild
index 48d48af7c5e9..72f25d804cfd 100644
--- a/media-tv/xmltv/xmltv-0.5.67.ebuild
+++ b/media-tv/xmltv/xmltv-0.5.67.ebuild
@@ -179,17 +179,18 @@ src_install() {
perl-module_src_install
- for i in `grep -rl "${D}" "${D}"` ; do
+ local i
+ for i in $(grep -rl "${D}" "${D}"); do
sed -e "s:${D}::g" -i "${i}" || die
done
- if use tv_pick_cgi ; then
+ if use tv_pick_cgi; then
dobin choose/tv_pick/tv_pick_cgi
fi
}
pkg_postinst() {
- if use tv_pick_cgi ; then
+ if use tv_pick_cgi; then
elog "To use tv_pick_cgi, please link it from /usr/bin/tv_pick_cgi"
elog "to where the ScriptAlias directive is configured."
fi
diff --git a/media-tv/xmltv/xmltv-0.5.68.ebuild b/media-tv/xmltv/xmltv-0.5.68.ebuild
index 6aa94a784f71..d98f182a38ef 100644
--- a/media-tv/xmltv/xmltv-0.5.68.ebuild
+++ b/media-tv/xmltv/xmltv-0.5.68.ebuild
@@ -187,6 +187,7 @@ src_install() {
perl-module_src_install
+ local i
for i in $(grep -rl "${D}" "${D}"); do
sed -e "s:${D}::g" -i "${i}" || die
done
diff --git a/media-tv/xmltv/xmltv-0.5.70.ebuild b/media-tv/xmltv/xmltv-0.5.70.ebuild
index 6a8f8c0ea529..b32fc832916f 100644
--- a/media-tv/xmltv/xmltv-0.5.70.ebuild
+++ b/media-tv/xmltv/xmltv-0.5.70.ebuild
@@ -164,6 +164,7 @@ src_install() {
perl-module_src_install
+ local i
for i in $(grep -rl "${D}" "${D}"); do
sed -e "s:${D}::g" -i "${i}" || die
done