aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-12-31 14:33:42 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-12-31 16:28:15 +0200
commitb55235dfbde37661d24881eb989ee651ed9289c5 (patch)
tree5478d7a8483b30ec38338a0482bb52f8941b746c /mesonbuild/scripts
parent504f974204c79a08d17224c2a91582a47c64fe68 (diff)
downloadmeson-b55235dfbde37661d24881eb989ee651ed9289c5.zip
meson-b55235dfbde37661d24881eb989ee651ed9289c5.tar.gz
meson-b55235dfbde37661d24881eb989ee651ed9289c5.tar.bz2
Fix space before :.
Diffstat (limited to 'mesonbuild/scripts')
-rw-r--r--mesonbuild/scripts/commandrunner.py6
-rw-r--r--mesonbuild/scripts/meson_install.py8
2 files changed, 7 insertions, 7 deletions
diff --git a/mesonbuild/scripts/commandrunner.py b/mesonbuild/scripts/commandrunner.py
index 63b5bb1..695301b 100644
--- a/mesonbuild/scripts/commandrunner.py
+++ b/mesonbuild/scripts/commandrunner.py
@@ -18,9 +18,9 @@ what to run, sets up the environment and executes the command."""
import sys, os, subprocess, shutil
def run_command(source_dir, build_dir, subdir, command, arguments):
- env = {'MESON_SOURCE_ROOT' : source_dir,
- 'MESON_BUILD_ROOT' : build_dir,
- 'MESON_SUBDIR' : subdir
+ env = {'MESON_SOURCE_ROOT': source_dir,
+ 'MESON_BUILD_ROOT': build_dir,
+ 'MESON_SUBDIR': subdir
}
cwd = os.path.join(source_dir, subdir)
child_env = os.environ.copy()
diff --git a/mesonbuild/scripts/meson_install.py b/mesonbuild/scripts/meson_install.py
index c749b4f..f497f2c 100644
--- a/mesonbuild/scripts/meson_install.py
+++ b/mesonbuild/scripts/meson_install.py
@@ -142,10 +142,10 @@ def install_headers(d):
do_copyfile(fullfilename, outfilename)
def run_install_script(d):
- env = {'MESON_SOURCE_ROOT' : d.source_dir,
- 'MESON_BUILD_ROOT' : d.build_dir,
- 'MESON_INSTALL_PREFIX' : d.prefix,
- 'MESON_INSTALL_DESTDIR_PREFIX' : d.fullprefix,
+ env = {'MESON_SOURCE_ROOT': d.source_dir,
+ 'MESON_BUILD_ROOT': d.build_dir,
+ 'MESON_INSTALL_PREFIX': d.prefix,
+ 'MESON_INSTALL_DESTDIR_PREFIX': d.fullprefix,
}
child_env = os.environ.copy()
child_env.update(env)