diff options
author | Ryan Hill <rhill@gentoo.org> | 2015-05-12 22:23:53 -0600 |
---|---|---|
committer | Ryan Hill <rhill@gentoo.org> | 2015-05-12 22:23:53 -0600 |
commit | fbf72a0a0c3c5708e68fa493b2014605b828f2e6 (patch) | |
tree | 412aa90e7ea569b1b61de90ab7d239cb6bb98058 /gcc-config | |
parent | Ignore whitespace when diffing test results. (diff) | |
download | gcc-config-fbf72a0a0c3c5708e68fa493b2014605b828f2e6.tar.gz gcc-config-fbf72a0a0c3c5708e68fa493b2014605b828f2e6.tar.bz2 gcc-config-fbf72a0a0c3c5708e68fa493b2014605b828f2e6.zip |
Use /lib/gentoo/functions.sh instead of /etc/init.d/functions.sh.
URL: https://bugs.gentoo.org/504118
Signed-off-by: Ryan Hill <rhill@gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'gcc-config')
-rwxr-xr-x | gcc-config | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -18,8 +18,9 @@ cd / trap ":" INT QUIT TSTP argv0=${0##*/} -source "${EPREFIX}"/etc/init.d/functions.sh || { - echo "${argv0}: Could not source ${EPREFIX}/etc/init.d/functions.sh!" 1>&2 +functions_script="${EPREFIX}/lib/gentoo/functions.sh" +source ${functions_script} || { + echo "${argv0}: Could not source ${functions_script}!" 1>&2 exit 1 } esyslog() { :; } |