]> gitweb.fluxo.info Git - firma.git/commitdiff
On function GetMessage, renamed variable "STDIN" to "stdin" and declared it as local.
authorluis <luis>
Sun, 21 Aug 2005 15:58:03 +0000 (15:58 +0000)
committerluis <luis>
Sun, 21 Aug 2005 15:58:03 +0000 (15:58 +0000)
firma

diff --git a/firma b/firma
index 1f0ff8ae665031d544a8f11e4402b53e758279df..1684396324e9cd53d6f8fb28714da2100f870e1a 100755 (executable)
--- a/firma
+++ b/firma
@@ -171,11 +171,12 @@ function GetMessage {
   # returns: 0 on success, 1 if there's no input
   #-------------------------------------------------------------
 
+  local stdin
   local element
 
   # store message in array ORIG_MESSAGE
-  while read STDIN; do
-    ORIG_MESSAGE[$element]="$STDIN\n"
+  while read stdin; do
+    ORIG_MESSAGE[$element]="$stdin\n"
     ((++element))
   done