Commit 54ca8e20 authored by Hilko Bengen's avatar Hilko Bengen

Fix two bashisms

parent 298f6c37
......@@ -53,7 +53,7 @@ do
else
cmd="LIST ACTIVE"
fi
echo -e "MODE READER\n$cmd\nquit" |
printf "MODE READER\n%s\nquit\n" "${cmd}" |
{ nc $server $port || rm $new ; } |
grep '^[a-z]' |
while read group junk
......
sn (0.3.8-9) unstable; urgency=low
* Fix two bashisms, thanks to Manuel Prinz (Closes: #486057)
-- Hilko Bengen <bengen@debian.org> Tue, 24 Jun 2008 23:49:39 +0200
sn (0.3.8-8) unstable; urgency=low
* New maintainer (Closes: #380422)
......
......@@ -7,7 +7,7 @@
SNSPOOL=${SNROOT:-!!SNROOT!!}
for i in $SNSPOOL/.outgoing/*; do
if [ "$i" == "$SNSPOOL/.outgoing/*" ]
if [ "$i" = "$SNSPOOL/.outgoing/*" ]
then
echo "Can't read from $SNSPOOL/.outgoing/, exiting."
break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment