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:
parent
438e36337c
commit
7c535108bf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue