summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-10-01 12:28:38 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-10-01 12:28:38 +0000
commite7a6d3d985fc590f97d101e9f10926d17c0471b8 (patch)
tree53b3e9884d194e741b0a04740047f8221784525a /media-video/vdr
parentsparc stable wrt #187138 (diff)
downloadgentoo-2-e7a6d3d985fc590f97d101e9f10926d17c0471b8.tar.gz
gentoo-2-e7a6d3d985fc590f97d101e9f10926d17c0471b8.tar.bz2
gentoo-2-e7a6d3d985fc590f97d101e9f10926d17c0471b8.zip
Code cleanup.
(Portage version: 2.1.3.11)
Diffstat (limited to 'media-video/vdr')
-rw-r--r--media-video/vdr/ChangeLog5
-rw-r--r--media-video/vdr/vdr-1.4.7-r5.ebuild16
2 files changed, 11 insertions, 10 deletions
diff --git a/media-video/vdr/ChangeLog b/media-video/vdr/ChangeLog
index 46ac032199ed..384523116915 100644
--- a/media-video/vdr/ChangeLog
+++ b/media-video/vdr/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/vdr
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/ChangeLog,v 1.87 2007/09/30 12:40:27 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/ChangeLog,v 1.88 2007/10/01 12:28:38 zzam Exp $
+
+ 01 Oct 2007; Matthias Schwarzott <zzam@gentoo.org> vdr-1.4.7-r5.ebuild:
+ Code cleanup.
*vdr-1.4.7-r5 (30 Sep 2007)
diff --git a/media-video/vdr/vdr-1.4.7-r5.ebuild b/media-video/vdr/vdr-1.4.7-r5.ebuild
index 0cd19c22c177..37f736ea1c06 100644
--- a/media-video/vdr/vdr-1.4.7-r5.ebuild
+++ b/media-video/vdr/vdr-1.4.7-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/vdr-1.4.7-r5.ebuild,v 1.1 2007/09/30 12:40:27 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/vdr-1.4.7-r5.ebuild,v 1.2 2007/10/01 12:28:38 zzam Exp $
inherit eutils flag-o-matic multilib
@@ -54,18 +54,16 @@ pkg_setup() {
}
add_cap() {
- while [ "$1" ]; do
- CAPS="${CAPS}\n$1=1"
- shift
+ local arg
+ for arg; do
+ CAPS="${CAPS}\n${arg}=1"
done
}
enable_patch() {
- local patch
- while [ "$1" ]; do
- patch="$1"
- echo "$patch = 1" >> Make.config
- shift
+ local arg
+ for arg; do
+ echo "${arg} = 1" >> Make.config
done
}