From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6603D138CD2 for ; Wed, 13 May 2015 04:27:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF821E07E1; Wed, 13 May 2015 04:26:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 614B5E07E1 for ; Wed, 13 May 2015 04:26:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6AD8E340E20 for ; Wed, 13 May 2015 04:26:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 20D379E9 for ; Wed, 13 May 2015 04:26:56 +0000 (UTC) From: "Ryan Hill" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ryan Hill" Message-ID: <1431491033.fbf72a0a0c3c5708e68fa493b2014605b828f2e6.rhill@gentoo> Subject: [gentoo-commits] proj/gcc-config:master commit in: / X-VCS-Repository: proj/gcc-config X-VCS-Files: gcc-config X-VCS-Directories: / X-VCS-Committer: rhill X-VCS-Committer-Name: Ryan Hill X-VCS-Revision: fbf72a0a0c3c5708e68fa493b2014605b828f2e6 X-VCS-Branch: master Date: Wed, 13 May 2015 04:26:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 33468e57-180d-4e87-a3c2-82677e4f2d50 X-Archives-Hash: cfe697b554d41bad7ff2b6a0f3ddade2 commit: fbf72a0a0c3c5708e68fa493b2014605b828f2e6 Author: Ryan Hill gentoo org> AuthorDate: Wed May 13 04:23:53 2015 +0000 Commit: Ryan Hill gentoo org> CommitDate: Wed May 13 04:23:53 2015 +0000 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=fbf72a0a Use /lib/gentoo/functions.sh instead of /etc/init.d/functions.sh. URL: https://bugs.gentoo.org/504118 Signed-off-by: Ryan Hill gentoo.org> Signed-off-by: Lars Wendler gentoo.org> gcc-config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc-config b/gcc-config index 8d2347f..4fccc8c 100755 --- a/gcc-config +++ b/gcc-config @@ -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() { :; }