]> gitweb.fluxo.info Git - firma.git/commitdiff
pala
authorrhatto <rhatto>
Sun, 7 Aug 2005 22:30:44 +0000 (22:30 +0000)
committerrhatto <rhatto>
Sun, 7 Aug 2005 22:30:44 +0000 (22:30 +0000)
firma

diff --git a/firma b/firma
index 4245e2ec0dadba9fa16d1776c9ac5113c5fa3682..4c65930c0842f2cbe803f16dea5da7bc85ec4837 100755 (executable)
--- 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