Do not unquote + into ' ' in URLs
[gitweb.git] / t / aggregate-results.sh
index 52e88e30465b8de4f0d9bd592bdd525e0f31145a..d206b7c4cfa4f7d61d151cebc35a0f296fbe4c6b 100755 (executable)
@@ -6,13 +6,13 @@ failed=0
 broken=0
 total=0
 
-for file
+while read file
 do
        while read type value
        do
-               case $type in
-               '')
-                       continue ;;
+               case $type in
+               '')
+                       continue ;;
                fixed)
                        fixed=$(($fixed + $value)) ;;
                success)
@@ -20,9 +20,9 @@ do
                failed)
                        failed=$(($failed + $value)) ;;
                broken)
-                       broken=$(( $broken + $value)) ;;
+                       broken=$(($broken + $value)) ;;
                total)
-                       total=$(( $total + $value)) ;;
+                       total=$(($total + $value)) ;;
                esac
        done <"$file"
 done