mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-05 02:22:21 +03:00
Fix failed to write output file ... lm.log
This commit is contained in:
parent
138db687ed
commit
0aa487b366
@ -67,7 +67,9 @@ for local i in srilm irstlm randlm {
|
||||
|
||||
if $(current) != $(previous) {
|
||||
#Write inconsistent while the build is running
|
||||
local ignored = @($(LM-LOG):E=inconsistent) ;
|
||||
if [ path.exists $(LM-LOG) ] {
|
||||
local ignored = @($(LM-LOG):E=inconsistent) ;
|
||||
}
|
||||
#Write $(current) to $(LM-LOG) after the build completes.
|
||||
rule post-build ( ok ? ) {
|
||||
if $(ok) {
|
||||
|
Loading…
Reference in New Issue
Block a user