Stop at the summary when parsing a file for the app name

This commit is contained in:
Daniel Martí 2014-07-06 11:38:32 +02:00
parent 69bb03cd71
commit 8f08487839

View file

@ -57,6 +57,7 @@ while read line; do
case "$l" in case "$l" in
'Auto Name:'*) autoname=${l#*:} ;; 'Auto Name:'*) autoname=${l#*:} ;;
'Name:'*) name=${l#*:} ;; 'Name:'*) name=${l#*:} ;;
'Summary:'*) break ;;
esac esac
done < "$file" done < "$file"