diff --git a/development/cmake/po/update-gmo.py b/development/cmake/po/update-gmo.py index 1be9575e20..8e0c1082b4 100644 --- a/development/cmake/po/update-gmo.py +++ b/development/cmake/po/update-gmo.py @@ -3,5 +3,5 @@ ############### import sys, os, shutil -if os.stat(sys.argv[1]).st_size > 0: +if os.stat(sys.argv[1]).st_size > 0 or not os.path.isfile(sys.argv[3]): shutil.copyfile(sys.argv[2], sys.argv[3])