From: rhatto Date: Sun, 7 Aug 2005 22:30:44 +0000 (+0000) Subject: pala X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=081aa42dd6c238c136b8328d1603d337fb192133;p=firma.git pala --- diff --git a/firma b/firma index 4245e2e..4c65930 100755 --- a/firma +++ b/firma @@ -86,7 +86,7 @@ function get_subscribers_list { } function get_message { - LINES=0 ; unset MESSAGE + LINES=0 while read STDIN; do MESSAGE[$LINES]="$STDIN\n" ((++LINES)) @@ -94,7 +94,7 @@ function get_message { } function get_gpg_message { - signal=0; unset GPG_MESSAGE + signal=0 if [ ! -z "$LINES" ]; then x=0; n=$LINES for ((count=0;count<=n;count++)); do @@ -131,8 +131,7 @@ function message_list { # compose and send a message to the list # $1: subscriber email # sorry no identation :P -n=0; unset LIST_MESSAGE -unset LIST_MESSAGE +n=0 echo "$PASSWD Message from: $FROM Subject: $SUBJECT @@ -157,7 +156,7 @@ $(echo -e "${LIST_MESSAGE[@]}")" | $MAIL $MAIL_ARGS function message_list_error { # compose and send an error message # sorry no identation :P -n=0; unset LIST_MESSAGE +n=0 echo "$PASSWD Message from: $FROM Subject: [BAD SIGNATURE] $SUBJECT