Bug#432873: update-grub doesn't reset GREP_OPTIONS and fails

Adrien Clerc clerca at inp-net.eu.org
Thu Jul 12 17:40:21 UTC 2007


Package: grub
Version: 0.97-29
Severity: normal

--- Please enter the report below this line. ---
Hi !
I'm using the GREP_OPTIONS environment variable to have a nice grep 
display : "-n --color=auto". This adds line number before results. 
update-grub is not aware of this, and causes some troubles (no kernel 
are found). It should clear this variable before using grep with a 
single line at the beginning of the script :
GREP_OPTIONS=""

Regards,
Adrien

--- System information. ---
Architecture: i386
Kernel: Linux 2.6.21-2-k7

Debian Release: lenny/sid
500 unstable ftp.fr.debian.org

--- Package information. ---
Depends (Version) | Installed
==========================-+-===========
libc6 (>= 2.5-5) | 2.6-2
libncurses5 (>= 5.4-5) | 5.6-3





More information about the Pkg-grub-devel mailing list