chiark / gitweb /
Change print-function to have brackets
[fdroidserver.git] / fd-commit
index d7b9cf9220bf95f0f5546aa80ddc01db217f928a..82ca143dd9482c062e88acb919cacc3f48977feb 100755 (executable)
--- a/fd-commit
+++ b/fd-commit
@@ -1,6 +1,6 @@
 #!/bin/bash
 #
-# fd-commit - part of the FDroid server tools
+# fd-commit - part of the F-Droid server tools
 # Commits updates to apps, allowing you to edit the commit messages
 #
 # Copyright (C) 2013-2014 Daniel Martí <mvdan@mvdan.cc>
@@ -34,6 +34,7 @@ while read line; do
        case "$line" in
                *'??'*'metadata/'*'.txt') new=true ;;
                *'M'*'metadata/'*'.txt') new=false ;;
+               *) continue ;;
        esac
 
        file=${line##* }
@@ -77,12 +78,11 @@ while read line; do
                disable=false
                while read line; do
                        case "$line" in
-                               *'Maintainer Notes:'*) break ;;
                                '-Build:'*) onlybuild=false ;;
                                '+Build:'*)
                                        $newbuild && onlybuild=false
                                        newbuild=true
-                                       build=${l#*:}
+                                       build=${line#*:}
                                        version=${build%%,*}
                                        build=${build#*,}
                                        vercode=${build%%,*}