sci-libs/tensorflow: fix removing tensorboard
authorJason Zaman <perfinion@gentoo.org>
Sun, 8 Jul 2018 15:48:00 +0000 (23:48 +0800)
committerJason Zaman <perfinion@gentoo.org>
Sun, 8 Jul 2018 15:48:00 +0000 (23:48 +0800)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

sci-libs/tensorflow/tensorflow-1.9.0_rc2.ebuild

index 45ed99a5118b82f1c2ec3ec89778375fcfc149b0..8729b2afbc39219ae5c94e0f62616837832f84c9 100644 (file)
@@ -371,7 +371,7 @@ src_install() {
        if use python; then
                python_foreach_impl run_in_build_dir do_install
 
-               rm -f "${D}/usr/lib/python-exec/*/tensorboard" || die "failed to remove tensorboard"
+               rm -f "${D}"/usr/lib/python-exec/*/tensorboard || die "failed to remove tensorboard"
 
                # Symlink to python-exec scripts
                for i in "${D}"/usr/lib/python-exec/*/*; do