summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-10-28 13:27:19 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-10-28 13:27:19 -0700
commit5a5935d1854c439c6eba0c3072e77111e45d3107 (patch)
tree9491f7e6b788450dfd04c95466dfce86d70d054d /dev-util
parentapp-portage/eix: Bump to 0.34.11 (diff)
downloadgentoo-5a5935d1854c439c6eba0c3072e77111e45d3107.tar.gz
gentoo-5a5935d1854c439c6eba0c3072e77111e45d3107.tar.bz2
gentoo-5a5935d1854c439c6eba0c3072e77111e45d3107.zip
dev-util/perf: fix gtk fix
sorry, missed -f Closes: https://bugs.gentoo.org/751376 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/perf/perf-5.8.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-util/perf/perf-5.8.ebuild b/dev-util/perf/perf-5.8.ebuild
index 2395cf24d1f3..b7df33f4c961 100644
--- a/dev-util/perf/perf-5.8.ebuild
+++ b/dev-util/perf/perf-5.8.ebuild
@@ -218,7 +218,7 @@ src_install() {
local libdir
libdir="$(get_libdir)"
# on some arches it ends up in lib even on 64bit, ppc64 for instance.
- [[ "${ED}"/usr/lib/libperf-gtk.so ]] && libdir="lib"
+ [[ -f "${ED}"/usr/lib/libperf-gtk.so ]] && libdir="lib"
mv "${ED}"/usr/${libdir}/libperf-gtk.so \
"${ED}"/usr/libexec/perf-core || die
fi