webbuild-cgi: minor fix on variable check

This commit is contained in:
Silvan Calarco 2013-06-05 18:52:41 +02:00
parent 0febe8f777
commit ee91237d64

View File

@ -225,7 +225,7 @@ if [ "$REQUEST" = "refresh" -o ! "$USER" ]; then
STARGET= STARGET=
SID= SID=
eval $line eval $line
[ "$SID" ] || continue [ "$SID" -a "$FROMID" ] || continue
[ $SID -ge $FROMID ] || continue [ $SID -ge $FROMID ] || continue
[ "$STARGET" = "developers" -a ! "$USER" ] && continue [ "$STARGET" = "developers" -a ! "$USER" ] && continue
[ "$SUSER" = "$USER" -a "$STARGET" == "developers" ] && continue [ "$SUSER" = "$USER" -a "$STARGET" == "developers" ] && continue