aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/pkgconfig.py
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2018-06-05 13:47:01 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2018-06-07 00:18:21 +0300
commitd9efee01d0dc08f8e41ef1f0dd239113309135a1 (patch)
treef0162ada56df0a62caf5667800d7d3e651a4dd8e /mesonbuild/modules/pkgconfig.py
parent9b791881ed61e3c9c68599c231337ffc8f5769b0 (diff)
downloadmeson-d9efee01d0dc08f8e41ef1f0dd239113309135a1.zip
meson-d9efee01d0dc08f8e41ef1f0dd239113309135a1.tar.gz
meson-d9efee01d0dc08f8e41ef1f0dd239113309135a1.tar.bz2
gettext: Install .mo files atomically
Without this, building a module in a Flatpak app manifest that is a newer version of a module already present in the Flatpak runtime will fail. (The Flatpak file system is a bunch of hard links to readonly files, which can be replaced but not written to.) This instead creates a temporary file in the same directory as the destination (to avoid cross-device renaming errors) and atomically renames the temporary file to the destination, replacing it instead of rewriting it as shutil.copyfile() would do.
Diffstat (limited to 'mesonbuild/modules/pkgconfig.py')
0 files changed, 0 insertions, 0 deletions