diff options
author | 2010-03-21 14:22:41 +0000 | |
---|---|---|
committer | 2010-03-21 14:22:41 +0000 | |
commit | d13c8f81bc8830f9b40a56a0699008270d44644d (patch) | |
tree | aba9939d20194cb5a3f0a8a8cdb4d2f5e8f8d3ed | |
parent | Use LIBS. (diff) | |
download | eselect-python-d13c8f81bc8830f9b40a56a0699008270d44644d.tar.gz eselect-python-d13c8f81bc8830f9b40a56a0699008270d44644d.tar.bz2 eselect-python-d13c8f81bc8830f9b40a56a0699008270d44644d.zip |
Use EROOT instead of ROOT.
Use '#!/usr/bin/env bash' shebang instead of '#!/bin/bash' in python-config.
-rw-r--r-- | python.eselect | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python.eselect b/python.eselect index a1e2610..e08b322 100644 --- a/python.eselect +++ b/python.eselect @@ -7,9 +7,9 @@ MAINTAINER="python@gentoo.org" SVN_DATE='$Date$' VERSION=$(svn_date_to_version "${SVN_DATE}" ) -ENV_D_PATH="${ROOT%/}/etc/env.d" -INTERPRETER_PATH="${ROOT%/}/usr/bin/" -MAN_PATH="${ROOT%/}/usr/share/man/man1/" +ENV_D_PATH="${EROOT%/}/etc/env.d" +INTERPRETER_PATH="${EROOT%/}/usr/bin/" +MAN_PATH="${EROOT%/}/usr/share/man/man1/" PYTHON_INTERPRETERS_GROUP="" @@ -42,7 +42,7 @@ set_python() { set_python_config() { local script="${INTERPRETER_PATH}python-config" target="${1}" cat << EOF > "${script}" -#!/bin/bash +#!/usr/bin/env bash # Gentoo python-config wrapper script [[ "\${EPYTHON}" =~ (/|^python\$) ]] && EPYTHON="${target/-config-/}" |