diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-02-23 13:24:41 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-02-23 13:24:41 +0200 |
commit | 10fc496bbc47787eb8048421723f0636e03b1e14 (patch) | |
tree | 4c567fdfc88379d69022a36330c3495426b984e1 /interpreter.py | |
parent | 603625b61c7b1aa073a4008a5b6ce812b56f8015 (diff) | |
download | meson-10fc496bbc47787eb8048421723f0636e03b1e14.zip meson-10fc496bbc47787eb8048421723f0636e03b1e14.tar.gz meson-10fc496bbc47787eb8048421723f0636e03b1e14.tar.bz2 |
More builder -> Meson renaming.
Diffstat (limited to 'interpreter.py')
-rwxr-xr-x | interpreter.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/interpreter.py b/interpreter.py index 7cc90e7..4d83417 100755 --- a/interpreter.py +++ b/interpreter.py @@ -338,7 +338,7 @@ class Interpreter(): def __init__(self, build): self.build = build code = open(os.path.join(build.environment.get_source_dir(),\ - environment.builder_filename)).read() + environment.build_filename)).read() if len(code.strip()) == 0: raise InvalidCode('Builder file is empty.') assert(isinstance(code, str)) @@ -349,7 +349,7 @@ class Interpreter(): self.builtin['host'] = Host() self.environment = build.environment self.build_func_dict() - self.build_def_files = [environment.builder_filename] + self.build_def_files = [environment.build_filename] self.subdir = '' def build_func_dict(self): @@ -519,7 +519,7 @@ class Interpreter(): self.validate_arguments(args, 1, [str]) prev_subdir = self.subdir self.subdir = os.path.join(prev_subdir, args[0]) - buildfilename = os.path.join(self.subdir, environment.builder_filename) + buildfilename = os.path.join(self.subdir, environment.build_filename) self.build_def_files.append(buildfilename) code = open(os.path.join(self.environment.get_source_dir(), buildfilename)).read() assert(isinstance(code, str)) |