summaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/meson_install.py
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-04-18 13:47:35 +1000
committerJussi Pakkanen <jpakkane@gmail.com>2017-04-19 16:11:37 +0300
commit6a4efe8a82fbbaf49786c44886ccba2855c8fef2 (patch)
treef33b9f04aeec99aeb405b422672855d5bb15caf3 /mesonbuild/scripts/meson_install.py
parent0e47e74a77447575cbabd71315481c6dd9632601 (diff)
downloadmeson-6a4efe8a82fbbaf49786c44886ccba2855c8fef2.tar.gz
Drop terminating fullstop from "Installing blah to blah" messages
Grammatically, this full stop isn't needed and with file names it has a potential to be confusing: Installing /foo/bar/filename.1 to /foo/bar/dirname. The full stop caused me to do a double-take more than once, so let's drop it.
Diffstat (limited to 'mesonbuild/scripts/meson_install.py')
-rw-r--r--mesonbuild/scripts/meson_install.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/scripts/meson_install.py b/mesonbuild/scripts/meson_install.py
index 2205f1ae0..fbcc2a4af 100644
--- a/mesonbuild/scripts/meson_install.py
+++ b/mesonbuild/scripts/meson_install.py
@@ -133,7 +133,7 @@ def install_subdirs(data):
if src_dir.endswith('/') or src_dir.endswith('\\'):
src_dir = src_dir[:-1]
src_prefix = os.path.join(src_dir, inst_dir)
- print('Installing subdir %s to %s.' % (src_prefix, dst_dir))
+ print('Installing subdir %s to %s' % (src_prefix, dst_dir))
dst_dir = get_destdir_path(data, dst_dir)
if not os.path.exists(dst_dir):
os.makedirs(dst_dir)
@@ -148,7 +148,7 @@ def install_data(d):
mode = i[2]
outdir = os.path.split(outfilename)[0]
os.makedirs(outdir, exist_ok=True)
- print('Installing %s to %s.' % (fullfilename, outdir))
+ print('Installing %s to %s' % (fullfilename, outdir))
do_copyfile(fullfilename, outfilename)
set_mode(outfilename, mode)
@@ -158,7 +158,7 @@ def install_man(d):
outfilename = get_destdir_path(d, m[1])
outdir = os.path.split(outfilename)[0]
os.makedirs(outdir, exist_ok=True)
- print('Installing %s to %s.' % (full_source_filename, outdir))
+ print('Installing %s to %s' % (full_source_filename, outdir))
if outfilename.endswith('.gz') and not full_source_filename.endswith('.gz'):
with open(outfilename, 'wb') as of:
with open(full_source_filename, 'rb') as sf:
@@ -259,7 +259,7 @@ def install_targets(d):
pdb_filename = os.path.splitext(fname)[0] + '.pdb'
if not should_strip and os.path.exists(pdb_filename):
pdb_outname = os.path.splitext(outname)[0] + '.pdb'
- print('Installing pdb file %s to %s.' % (pdb_filename, pdb_outname))
+ print('Installing pdb file %s to %s' % (pdb_filename, pdb_outname))
do_copyfile(pdb_filename, pdb_outname)
elif os.path.isdir(fname):
fname = os.path.join(d.build_dir, fname.rstrip('/'))