1 |
commit: d8e5ec9bd0ad5781d643368f965164be3a9036ee |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 18 19:16:00 2016 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 19:16:00 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=d8e5ec9b |
7 |
|
8 |
gcc_warn_check: use valid python fallback |
9 |
|
10 |
bin/install-qa-check.d/90gcc-warnings | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/bin/install-qa-check.d/90gcc-warnings b/bin/install-qa-check.d/90gcc-warnings |
14 |
index bd82cab..0b0f89c 100644 |
15 |
--- a/bin/install-qa-check.d/90gcc-warnings |
16 |
+++ b/bin/install-qa-check.d/90gcc-warnings |
17 |
@@ -113,7 +113,7 @@ gcc_warn_check() { |
18 |
[[ $reset_debug = 1 ]] && set -x |
19 |
# Use safe cwd, avoiding unsafe import for bug #469338. |
20 |
f=$(cd "${PORTAGE_PYM_PATH}" ; $cat_cmd "${PORTAGE_LOG_FILE}" | \ |
21 |
- "${PORTAGE_PYTHON:-/usr/bin/python}" "$PORTAGE_BIN_PATH"/check-implicit-pointer-usage.py || die "check-implicit-pointer-usage.py failed") |
22 |
+ "${PORTAGE_PYTHON:-@PREFIX_PORTAGE_PYTHON@}" "$PORTAGE_BIN_PATH"/check-implicit-pointer-usage.py || die "check-implicit-pointer-usage.py failed") |
23 |
if [[ -n ${f} ]] ; then |
24 |
|
25 |
# In the future this will be a forced "die". In preparation, |