projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd3a117
)
media-video/mpv: declare loop variables as local in 9999.
author
Ilya Tumaykin
<itumaykin@gmail.com>
Wed, 31 Aug 2016 12:09:32 +0000
(15:09 +0300)
committer
Patrice Clement
<monsieurp@gentoo.org>
Fri, 2 Sep 2016 17:09:25 +0000
(19:09 +0200)
Package-Manager: portage-2.3.0
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
media-video/mpv/mpv-9999.ebuild
patch
|
blob
|
history
diff --git
a/media-video/mpv/mpv-9999.ebuild
b/media-video/mpv/mpv-9999.ebuild
index 67af384a0fc13fc978fe78671292fcf611217806..0ad7c55cc80c4620f9a94bb4eab5331ba1788a39 100644
(file)
--- 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"