]> www.infradead.org Git - users/dedekind/aiaiai.git/commitdiff
email-lda: remove a piece of bashism
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 5 Feb 2014 14:19:11 +0000 (16:19 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 5 Feb 2014 15:12:12 +0000 (17:12 +0200)
Remove the '==' operator and use the '=' instead. Otherwise 'dash' fails.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
email/aiaiai-email-lda

index 2f75c3ede3c066abdf4dff8541523d7df7abcde8..83a687b18558c0766278897899286b6c72ca55d2 100755 (executable)
@@ -103,7 +103,7 @@ reject_and_reply()
        verbose "Project \"$prj\""
        parse_prj_config "$cfgfile" "$prj"
 
-       if [ -n "$pcfg_name" ] && [ "$pcfg_reply_to_all" == "1" ]; then
+       if [ -n "$pcfg_name" ] && [ "$pcfg_reply_to_all" = "1" ]; then
                # Strip own address
                to=$(strip_address "$to" "$cfg_ownmail")
        else