bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] Bad call to dircolors in /etc/bash.bashrc on LMDE


From: Philip Hudson
Subject: [BUG] Bad call to dircolors in /etc/bash.bashrc on LMDE
Date: Thu, 1 Nov 2018 04:51:57 +0000

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H   -I.  -I../. -I.././include -I.././lib
-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall
uname output: Linux asdf 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1
(2018-10-03) x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.3
Patch Level: 30
Release Status: release

Description:
At line 44 of /etc/bash.bashrc the line

   eval $(dircolors)

is incorrect: it errors if $SHELL is tcsh. All other calls correctly
specify 'dircolors -b'.

Note: Arises on Linux Mint Debian Edition 2. I have not been able to
determine whether this report is more properly addressed to GNU, or
downstream to Debian or Linux Mint. Apologies if it's not you.

Repeat-By:
In a tcsh interactive shell session, invoke 'bash' or 'bash -i'.

Fix:
Change line 44 to:

   eval $(dircolors -b)

Consistent with all the other calls to dircolors.


-- 
Phil Hudson                  http://hudson-it.ddns.net
Pretty Good Privacy (PGP) ID: 0x4E482F85



reply via email to

[Prev in Thread] Current Thread [Next in Thread]