1 |
commit: 6910d50097acba1549cde0b1e6d5d6f6169a6dc3 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 4 08:48:50 2021 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 4 08:48:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=6910d500 |
7 |
|
8 |
sandbox.bashrc: use modern location of /lib/gentoo/functions.sh |
9 |
|
10 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
11 |
|
12 |
data/sandbox.bashrc | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/data/sandbox.bashrc b/data/sandbox.bashrc |
16 |
index 60bef0e..e3421e6 100644 |
17 |
--- a/data/sandbox.bashrc |
18 |
+++ b/data/sandbox.bashrc |
19 |
@@ -28,8 +28,8 @@ if [[ ${SANDBOX_INTRACTV} == "1" && -t 1 ]] || [[ ${__SANDBOX_TESTING} == "yes" |
20 |
( |
21 |
[[ ${NOCOLOR} == "true" || ${NOCOLOR} == "yes" || ${NOCOLOR} == "1" ]] && \ |
22 |
export RC_NOCOLOR="yes" |
23 |
- source /etc/init.d/functions.sh |
24 |
- if [ $? -ne 0 ] ; then |
25 |
+ source /lib/gentoo/functions.sh |
26 |
+ if [[ $? -ne 0 ]] ; then |
27 |
einfo() { echo " INFO: $*"; } |
28 |
ewarn() { echo " WARN: $*"; } |
29 |
eerror() { echo " ERR: $*"; } |