aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-11-20 23:38:26 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-11-21 23:29:06 +0200
commit22adda16179e11dd7e5ca34a34e6286afcf6c0c9 (patch)
treecbcf0e9047aa4f245a1b4ba50321c42325ccc443 /mesonbuild/scripts
parent105ea1e597a6ec5e711d95ec6339597ef759c475 (diff)
downloadmeson-22adda16179e11dd7e5ca34a34e6286afcf6c0c9.zip
meson-22adda16179e11dd7e5ca34a34e6286afcf6c0c9.tar.gz
meson-22adda16179e11dd7e5ca34a34e6286afcf6c0c9.tar.bz2
Review fixes.
Diffstat (limited to 'mesonbuild/scripts')
-rw-r--r--mesonbuild/scripts/regen_checker.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/mesonbuild/scripts/regen_checker.py b/mesonbuild/scripts/regen_checker.py
index e8fbd19..a9b00c7 100644
--- a/mesonbuild/scripts/regen_checker.py
+++ b/mesonbuild/scripts/regen_checker.py
@@ -14,6 +14,7 @@
import sys, os
import pickle, subprocess
+from mesonbuild.mesonlib import meson_command
# This could also be used for XCode.
@@ -32,11 +33,11 @@ def need_regen(regeninfo, regen_timestamp):
return False
def regen(regeninfo, mesonscript, backend):
- cmd = mesonlib.meson_command + ['--internal',
- 'regenerate',
- regeninfo.build_dir,
- regeninfo.source_dir,
- '--backend=' + backend]
+ cmd = meson_command + ['--internal',
+ 'regenerate',
+ regeninfo.build_dir,
+ regeninfo.source_dir,
+ '--backend=' + backend]
subprocess.check_call(cmd)
def run(args):