1
0
Fork 0

Corrected cref_errlog output from msgfmt (was overwriting)

master
Mike Gerwitz 2013-03-12 22:47:01 -04:00
parent a0b1186d12
commit 35b390dc37
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 1 additions and 1 deletions

2
msgfmt
View File

@ -60,7 +60,7 @@ awk -vid="$id" -vurl_root="$url_root" -vcref_errlog="$cref_errlog" '
# hashcache is cleared before the run, then this is likely to occur for
# every cref)
if ( result == "" && cref_errlog && id ) {
printf id >cref_errlog
printf id"\n" >>cref_errlog
}
gsub(/\[cref:.*?\]/, url_root result)