public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sandbox:master commit in: data/
Date: Tue,  4 May 2021 08:50:50 +0000 (UTC)	[thread overview]
Message-ID: <1620118130.6910d50097acba1549cde0b1e6d5d6f6169a6dc3.slyfox@gentoo> (raw)

commit:     6910d50097acba1549cde0b1e6d5d6f6169a6dc3
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue May  4 08:48:50 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue May  4 08:48:50 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=6910d500

sandbox.bashrc: use modern location of /lib/gentoo/functions.sh

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 data/sandbox.bashrc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/sandbox.bashrc b/data/sandbox.bashrc
index 60bef0e..e3421e6 100644
--- a/data/sandbox.bashrc
+++ b/data/sandbox.bashrc
@@ -28,8 +28,8 @@ if [[ ${SANDBOX_INTRACTV} == "1" && -t 1 ]] || [[ ${__SANDBOX_TESTING} == "yes"
 		(
 		[[ ${NOCOLOR} == "true" || ${NOCOLOR} == "yes" || ${NOCOLOR} == "1" ]] && \
 			export RC_NOCOLOR="yes"
-		source /etc/init.d/functions.sh
-		if [ $? -ne 0 ] ; then
+		source /lib/gentoo/functions.sh
+		if [[ $? -ne 0 ]] ; then
 			einfo() { echo " INFO: $*"; }
 			ewarn() { echo " WARN: $*"; }
 			eerror() { echo " ERR: $*"; }


             reply	other threads:[~2021-05-04  8:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-04  8:50 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-11-05 10:25 [gentoo-commits] proj/sandbox:master commit in: data/ Mike Frysinger
2021-11-05 10:25 Mike Frysinger
2021-05-04  8:50 Sergei Trofimovich
2021-05-04  8:50 Sergei Trofimovich
2012-11-17 19:16 Mike Frysinger
2011-07-04 23:06 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1620118130.6910d50097acba1549cde0b1e6d5d6f6169a6dc3.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox