Source: grub2
Version: 1.96+20080617-1

On Monday 16 June 2008, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the grub-efi package:
>
> #486039: grub-efi: bashism in /bin/sh script
>
> It has been closed by Robert Millan <[EMAIL PROTECTED]>.

>      - Uses EUID instead of UID in update-grub.  (Closes: #486043, #486039,
>        #486040, #486041).

At first I though they had just s/UID/EUID/g, but seems not.

But checking the code...

> if [ "x$EUID" = "x" ] ; then
>   EUID=`id -u`
> fi

is wrong, id -u is the equivalent of $UID, id -ru of $EUID.

So that piece of code is actually mixing both depending on whether sh is bash 
(or any other sh providing $EUID on its own) or not.


>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Robert Millan
> <[EMAIL PROTECTED]> by replying to this email.


Cheers,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to