]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 599: fix eval statement where $1 may contain non-alphanumeric characters
authorLee Howard <faxguy@howardsilvan.com>
Mon, 18 Jul 2005 19:02:49 +0000 (19:02 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Mon, 18 Jul 2005 19:02:49 +0000 (19:02 +0000)
util/faxrcvd.sh.in

index 7259067949fc7015529470a7eb67e765fcdf76b6..61a74dd5c34abfc437671d8072e8af2cbef3e594 100644 (file)
@@ -103,7 +103,7 @@ COMMID="$1"; shift;
 MSG="$1"; shift;
 COUNT=1
 while [ $# -ge 1 ]; do
-    eval CALLID$COUNT="$1"
+    eval "CALLID$COUNT=\"$1\""
     shift
     COUNT=`expr $COUNT + 1`
 done