Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 444482 Details for
Bug 592470
sys-apps/gentoo-functions: consoletype failure aborts scripts with set -e
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use absolute path to consoletype as /sbin is not in user PATH
0002-Use-absolute-path-to-consoletype-as-sbin-is-not-in-u.patch (text/plain), 798 bytes, created by
James Le Cuirot
on 2016-08-30 20:46:50 UTC
(
hide
)
Description:
Use absolute path to consoletype as /sbin is not in user PATH
Filename:
MIME Type:
Creator:
James Le Cuirot
Created:
2016-08-30 20:46:50 UTC
Size:
798 bytes
patch
obsolete
>From 96990f5ccafc670f0d72cc0a93bc17d2d746de9f Mon Sep 17 00:00:00 2001 >From: James Le Cuirot <chewi@gentoo.org> >Date: Tue, 30 Aug 2016 21:36:11 +0100 >Subject: [PATCH 2/2] Use absolute path to consoletype as /sbin is not in user > PATH > >--- > functions.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/functions.sh b/functions.sh >index 9d47e6c..da127c3 100644 >--- a/functions.sh >+++ b/functions.sh >@@ -421,7 +421,7 @@ RC_DOT_PATTERN='' > # have a TTY. rc unsets it at the end of running so it shouldn't hang > # around > if [ -z "${CONSOLETYPE}" ] ; then >- CONSOLETYPE="$(! consoletype stdout 2>/dev/null)"; export CONSOLETYPE >+ CONSOLETYPE="$(! /sbin/consoletype stdout 2>/dev/null)"; export CONSOLETYPE > fi > if [ "${CONSOLETYPE}" = "serial" ] ; then > RC_NOCOLOR="yes" >-- >2.8.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 592470
:
444480
| 444482