From cf012295e7e68515d56479ca383010fe61f7ee6e Mon Sep 17 00:00:00 2001 From: Zack Welch Date: Tue, 1 Apr 2003 22:16:26 +0000 Subject: close bug 18566; update to latest version --- sys-devel/distcc/files/1.2.3/distcc-config | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'sys-devel/distcc/files/1.2.3') 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 ) -- cgit v1.2.3-65-gdbad