package: fai-doc
version: 3.2.1

Hi,

the following scripts are executed with /bin/sh but contain code, which doesnt 
work, when /bin/sh is a link to dash:

./LAST/50-misc:error=0 ; trap "error=$((error|1))" ERR
./FAIBASE/10-misc:error=0 ; trap "error=$((error|1))" ERR
./FAIBASE/30-interface:error=0 ; trap "error=$((error|1))" ERR
./GRUB/10-setup:error=0 ; trap "error=$((error|1))" ERR

=====   shell: LAST/50-misc   =====
./LAST/50-misc: 5: arith: syntax error: "error|1"
LAST/50-misc         FAILED with exit code 2.


The simple fix would be to make those scripts explicitly use /bin/bash, though 
I would prefer if the scripts could be fixed to also work with dash, which is 
smaller and therefore much faster (to start) than bash and which is the 
default shell on debian-edu and ubuntu (and hopefully lenny too).


regards,
        Holger

Attachment: pgp5vKf0KhoJL.pgp
Description: PGP signature

Reply via email to