• Bug#265478: wrong emacsen-install, so logging will fail

    From OHASHI Akira@1:229/2 to All on Fri Aug 13 13:20:06 2004
    From: [email protected]

    Package: emacs-goodies-el
    Version: 24.6-1
    Severity: important

    emacsen-install uses wrong redirection. POSIX shell should use
    "> file 2>&1" instead of "&> file". In POSIX shell,
    "command &> file" will run command in background, that is, it is
    parsed as "command &" + "> file".


    --- emacsen-install.template.org 2004-08-13 19:31:59.000000000 +0900
    +++ emacsen-install.template 2004-08-13 19:33:12.000000000 +0900
    @@ -80,7 +80,7 @@
    fi

    echo ${FLAVOR} ${FLAGS} ${FILES} >> ${LOG}
    -"${FLAVOR}" ${FLAGS} ${FILES} >> ${LOG} &> ${LOG}
    +"${FLAVOR}" ${FLAGS} ${FILES} >> ${LOG} 2>&1
    rm -f *.el path.el

    exit 0

    Cheers,

    --
    OHASHI Akira
    [email protected] [email protected]
    Share what you know. Learn what you don't.

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Peter S Galbraith@1:229/2 to OHASHI Akira on Fri Aug 13 16:10:09 2004
    From: [email protected]

    OHASHI Akira <[email protected]> wrote:

    emacsen-install uses wrong redirection. POSIX shell should use
    "> file 2>&1" instead of "&> file". In POSIX shell,
    "command &> file" will run command in background, that is, it is
    parsed as "command &" + "> file".

    Thanks!

    I'll fix this soon. I probably do this in other packages as well...

    Peter

    --
    Peter S. Galbraith, Debian Developer <[email protected]>
    http://people.debian.org/~psg
    GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)