Skip to content

Commit

Permalink
dev-python/six: Ensure PYTHON exists before calling python_get_sitedir
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26_p10
  • Loading branch information
floppym committed Dec 7, 2015
1 parent 8f4b826 commit def081f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-python/six/six-1.10.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit def081f

Please sign in to comment.