Only print the header if we're running update.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18253 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonas Häggqvist 2008-08-12 14:52:56 +00:00
parent 438e36337c
commit 7c535108bf

View file

@ -369,7 +369,7 @@ while(<LANG>) {
if($_ =~ /^( *\#|[ \t\n\r]*\z)/) {
# comment or empty line - output it if it's part of the header
if ($header eq 1) {
if ($header and $update) {
print($_);
}
next;