diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-08-14 01:24:11 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-08-14 01:24:11 +0300 |
commit | e842e6602c3a0e5aeac5ecfb4d8bb4fe7bc75093 (patch) | |
tree | 7cf0a0831c17c7c3af1fcc22ba9d3143844751dc /interpreter.py | |
parent | 05d929d542890df227584740cb33fa22334fdb4b (diff) | |
download | meson-e842e6602c3a0e5aeac5ecfb4d8bb4fe7bc75093.zip meson-e842e6602c3a0e5aeac5ecfb4d8bb4fe7bc75093.tar.gz meson-e842e6602c3a0e5aeac5ecfb4d8bb4fe7bc75093.tar.bz2 |
A few tweaks.
Diffstat (limited to 'interpreter.py')
-rw-r--r-- | interpreter.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/interpreter.py b/interpreter.py index 78cbf86..3c66f86 100644 --- a/interpreter.py +++ b/interpreter.py @@ -1577,7 +1577,8 @@ class Interpreter(): raise InterpreterException('Argument "configuration" is not of type configuration_data') conffile = os.path.join(self.subdir, inputfile) - self.build_def_files.append(conffile) + if conffile not in self.build_def_files: + self.build_def_files.append(conffile) os.makedirs(os.path.join(self.environment.build_dir, self.subdir), exist_ok=True) ifile_abs = os.path.join(self.environment.source_dir, self.subdir, inputfile) ofile_abs = os.path.join(self.environment.build_dir, self.subdir, output) |