--- files/3.0/init 2008-11-17 01:36:37.000000000 +0900 +++ files/3.1/init 2009-03-19 08:27:39.000000000 +0900 @@ -16,10 +16,11 @@ chown distcc:daemon /var/run/distccd fi - # Load GCC_SPECS from profile.env bug #164818 - GCC_SPECS="$(. /etc/profile.env; echo "${GCC_SPECS}")" \ - PATH="$(gcc-config --get-bin-path):${PATH}" \ - start-stop-daemon --start --quiet --exec "${DISTCCD_EXEC}" -- \ + # Load PATH and GCC_SPECS from gcc-config, bug #262773 + eval "$(gcc-config -E)" + + start-stop-daemon --start --quiet --exec "${DISTCCD_EXEC}" \ + --env PATH="${PATH}" --env GCC_SPECS="${GCC_SPECS}" -- \ --daemon --pid-file "${DISTCCD_PIDFILE}" --user distcc \ ${DISTCCD_OPTS} eend $?