aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-02-08 22:36:03 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-02-08 22:36:03 +0200
commitee34bd688cf4911bcdca922e5a0c522dc1b4fdc5 (patch)
treec5aee21de23065ecad3827e60c8182a1166ce819
parent2ce0ee6aed4ec520753c3ff345170b6013691a2b (diff)
downloadmeson-ee34bd688cf4911bcdca922e5a0c522dc1b4fdc5.zip
meson-ee34bd688cf4911bcdca922e5a0c522dc1b4fdc5.tar.gz
meson-ee34bd688cf4911bcdca922e5a0c522dc1b4fdc5.tar.bz2
Do not compress that which does not need compressing.
-rwxr-xr-xbuilder_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder_install.py b/builder_install.py
index bc32adf..d899d51 100755
--- a/builder_install.py
+++ b/builder_install.py
@@ -40,7 +40,7 @@ def install_data(d):
outdir = os.path.split(outfilename)[0]
os.makedirs(outdir, exist_ok=True)
print('Installing %s to %s.' % (fullfilename, outdir))
- gzip.open(outfilename, 'w').write(open(fullfilename, 'rb').read())
+ shutil.copyfile(fullfilename, outfilename)
shutil.copystat(fullfilename, outfilename)
def install_man(d):