From def081f761fa12604a4618fab01fc192320e6360 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Mon, 7 Dec 2015 10:47:53 -0500 Subject: [PATCH] dev-python/six: Ensure PYTHON exists before calling python_get_sitedir Package-Manager: portage-2.2.26_p10 --- dev-python/six/six-1.10.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/six/six-1.10.0.ebuild b/dev-python/six/six-1.10.0.ebuild index ffbb168d3c246..810d8156f5fe7 100644 --- a/dev-python/six/six-1.10.0.ebuild +++ b/dev-python/six/six-1.10.0.ebuild @@ -32,8 +32,8 @@ PATCHES=( # pkg_setup to catch them all pkg_pretend() { six_dir_check() { - local dir="${ROOT}"/$(python_get_sitedir)/six type -p "${PYTHON}" > /dev/null || return 0 + local dir="${ROOT}"/$(python_get_sitedir)/six [[ -d "${dir}" ]] \ && die "${PN} doesn't work if ${dir} is a directory #546730" }