chiark / gitweb /
makebuildserver: change mem default 2 GB
[fdroidserver.git] / fd-commit
index 0cee014f2702f5d6685fe8c2fa7a1ec52c809174..4f6e9697cbd20211d5fc8d64d56adf95c63bc2a5 100755 (executable)
--- a/fd-commit
+++ b/fd-commit
@@ -1,9 +1,9 @@
 #!/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>
+# Copyright (C) 2013-2014 Daniel Marti <mvdan@mvdan.cc>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU Affero General Public License as published by
@@ -34,6 +34,7 @@ while read line; do
        case "$line" in
                *'??'*'metadata/'*'.txt') new=true ;;
                *'M'*'metadata/'*'.txt') new=false ;;
+               *) continue ;;
        esac
 
        file=${line##* }
@@ -57,6 +58,7 @@ while read line; do
                case "$l" in
                        'Auto Name:'*) autoname=${l#*:} ;;
                        'Name:'*) name=${l#*:} ;;
+                       'Summary:'*) break ;;
                esac
        done < "$file"
 
@@ -76,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%%,*}