mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
python-utils-r1.eclass: add more info to stub python wrappers
The short terse error messages here are not easy to track down. Add a few more details so people can figure out what's going wrong faster.
This commit is contained in:
@@ -1041,7 +1041,7 @@ python_wrapper_setup() {
|
||||
for x in "${nonsupp[@]}"; do
|
||||
cat >"${workdir}"/bin/${x} <<-_EOF_ || die
|
||||
#!/bin/sh
|
||||
echo "${x} is not supported by ${EPYTHON}" >&2
|
||||
echo "${ECLASS}: ${FUNCNAME}: ${x} is not supported by ${EPYTHON} (PYTHON_COMPAT)" >&2
|
||||
exit 127
|
||||
_EOF_
|
||||
chmod +x "${workdir}"/bin/${x} || die
|
||||
|
||||
Reference in New Issue
Block a user