diff options
author | Zack Welch <zwelch@gentoo.org> | 2003-04-01 22:16:26 +0000 |
---|---|---|
committer | Zack Welch <zwelch@gentoo.org> | 2003-04-01 22:16:26 +0000 |
commit | cf012295e7e68515d56479ca383010fe61f7ee6e (patch) | |
tree | 274eb0bbce1f20683874f7e91fd24c8fa866fcce /sys-devel/distcc/files/1.2.3 | |
parent | fixing bug 1446 (diff) | |
download | gentoo-2-cf012295e7e68515d56479ca383010fe61f7ee6e.tar.gz gentoo-2-cf012295e7e68515d56479ca383010fe61f7ee6e.tar.bz2 gentoo-2-cf012295e7e68515d56479ca383010fe61f7ee6e.zip |
close bug 18566; update to latest version
Diffstat (limited to 'sys-devel/distcc/files/1.2.3')
-rw-r--r-- | sys-devel/distcc/files/1.2.3/distcc-config | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sys-devel/distcc/files/1.2.3/distcc-config b/sys-devel/distcc/files/1.2.3/distcc-config index 2fe9d0e943f2..8e2a7942651a 100644 --- a/sys-devel/distcc/files/1.2.3/distcc-config +++ b/sys-devel/distcc/files/1.2.3/distcc-config @@ -115,13 +115,12 @@ dccc_install_env() { DISTCC_HOSTS="localhost" # DISTCC_VERBOSE is not set # DISTCC_LOG is not set -# PATH is not set -# ROOTPATH is not set +# DCCC_PATH is not set _EOF_ } dccc_show_env() { - grep -v '^#' ${DCCC_ENV_FILE} + grep -v '^#' ${DCCC_ENV_FILE} | sed -e 's,^,export ,' } dccc_test_env() { @@ -243,16 +242,14 @@ case "${1}" in eval "dccc_${SET_FUNC} ${*}" ;; --has-path ) - dccc_test_env PATH + dccc_test_env DCCC_PATH ;; --add-path ) - dccc_set_env PATH "/usr/lib/distcc/bin" - dccc_set_env ROOTPATH "/usr/lib/distcc/bin" + dccc_set_env DCCC_PATH "/usr/lib/distcc/bin" dccc_regen_env ;; --no-path ) - dccc_set_env PATH "" - dccc_set_env ROOTPATH "" + dccc_set_env DCCC_PATH "" dccc_regen_env ;; --show-env ) |