summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2016-08-31 15:09:32 +0300
committerPatrice Clement <monsieurp@gentoo.org>2016-09-02 19:09:25 +0200
commit8589355f2c5d28cb987e01dbce948e6ab8bd8180 (patch)
tree8d73f9f8b55d1335c393b490d6693c344285674b /media-video
parentmedia-video/mpv: install upstream Lua scripts with lua. USE in 9999 (diff)
downloadgentoo-8589355f2c5d28cb987e01dbce948e6ab8bd8180.tar.gz
gentoo-8589355f2c5d28cb987e01dbce948e6ab8bd8180.tar.bz2
gentoo-8589355f2c5d28cb987e01dbce948e6ab8bd8180.zip
media-video/mpv: declare loop variables as local in 9999.
Package-Manager: portage-2.3.0 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mpv/mpv-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 67af384a0fc1..0ad7c55cc80c 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -277,7 +277,7 @@ pkg_postinst() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
- local softvol_0_18_1=0
+ local rv softvol_0_18_1=0
for rv in ${REPLACING_VERSIONS}; do
version_compare ${rv} 0.18.1-r1
[[ $? -eq 1 ]] && softvol_0_18_1=1
@@ -318,6 +318,7 @@ pkg_postrm() {
src_test() {
cd "${S}"/build/test || die
+ local test
for test in *; do
if [[ -x ${test} ]]; then
./"${test}" || die "Test suite failed"