bootdisk: f1.cgi (HEAD)

juandon juandon w pld.org.pl
Wto, 7 Sty 2003, 23:38:52 CET


Module name:	bootdisk
Changes by:	juandon	03/01/07 23:38:49

Modified files:
	f1.cgi

Log message:
- proper quoting

Index: f1.cgi
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/html/f1.cgi,v
diff -d -u -r1.3 -r1.4
--- f1.cgi	7 Jan 2003 22:06:14 -0000	1.3
+++ f1.cgi	7 Jan 2003 22:38:49 -0000	1.4
@@ -31,7 +31,7 @@
 	begin=$begin$middle$ch
 	middle=${rest%%%20*}
 	rest=${rest#*%20}
-	ch=" "
+	ch="\\ "
     done
     begin=$begin$middle
     echo $begin
@@ -83,11 +83,11 @@
     string2=$string
     begin=${string%%&*}
     string=${string#*&}
-    if [ $string2 = $string ]
+    if [ "$string2" = "$string" ]
     then
 	string=
     fi
-    eval $begin   
+    eval "$begin"
 done
 
 . index2.cgi



Więcej informacji o liście dyskusyjnej pld-installer