Bug#443198: bashisms in simple examples

2007-09-19 Thread Michael Tautschnig
> ./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:

Bug#443198: bashisms in simple examples

2007-09-19 Thread Holger Levsen
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=