dev-python/six: run pkg_preinst from /
authorMike Gilbert <floppym@gentoo.org>
Thu, 9 Jun 2016 16:01:39 +0000 (12:01 -0400)
committerMike Gilbert <floppym@gentoo.org>
Thu, 9 Jun 2016 16:18:23 +0000 (12:18 -0400)
Bug: https://bugs.gentoo.org/585146

Package-Manager: portage-2.3.0_rc1_p20

dev-python/six/six-1.10.0.ebuild
dev-python/six/six-1.9.0-r1.ebuild

index b005475fb6c6faf06dc6650d293ed016e885eeb9..753971c4bb4de6dd4033d4c826446d0c4f3ec0ae 100644 (file)
@@ -68,5 +68,6 @@ pkg_preinst() {
                        rm -r "${egginfo}" || die "Failed to remove egg-info directory"
                fi
        }
+       cd / # Bug 585146
        python_foreach_impl _cleanup
 }
index de1f0c97c240a9a00281d42f268650cd32566b85..274a6cb4062d1e55a7adc2f951ba2cd1341322a9 100644 (file)
@@ -50,5 +50,6 @@ pkg_preinst() {
                        rm -r "${egginfo}" || die "Failed to remove egg-info directory"
                fi
        }
+       cd / # Bug 585146
        python_foreach_impl _cleanup
 }