Bug#561675: dash: incompatibility with sh

2009-12-19 Thread Sergey Dorofeev
Package: dash Version: 0.5.5.1-3 Severity: normal so simple scripts stopped working after update to dash #!/bin/sh IFACE=$1 if [ $2 == up ] then INS=-I ADD=-A else INS=-D ADD=-D fi workaround: use bash -- System Information: Debian Release: squeeze/sid APT prefers testing APT

Bug#561675: dash: incompatibility with sh

2009-12-19 Thread Alexey Gladkov
On 19.12.2009 16:48, Sergey Dorofeev wrote: #!/bin/sh IFACE=$1 if [ $2 == up ] ^^ This is bashism. Please, use = if you looking for portability. then INS=-I ADD=-A else INS=-D ADD=-D fi workaround: use bash True :) -- Rgrds, legion -- To UNSUBSCRIBE,