diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-02-23 19:39:27 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-02-23 19:39:27 +0200 |
commit | 40012fad4550001c8dd181786608188d3a97ae4b (patch) | |
tree | 1a55c6ad59efc39c559dfd9bf731ac33fa74eb8c /meson.py | |
parent | d200ad2e2e1a800e6fd7072931588b0bdb9472b2 (diff) | |
download | meson-40012fad4550001c8dd181786608188d3a97ae4b.zip meson-40012fad4550001c8dd181786608188d3a97ae4b.tar.gz meson-40012fad4550001c8dd181786608188d3a97ae4b.tar.bz2 |
Started work on pipelines by adding generator test case skeleton.
Diffstat (limited to 'meson.py')
-rwxr-xr-x | meson.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -112,6 +112,12 @@ if __name__ == '__main__': else: dir2 = '.' this_file = os.path.abspath(__file__) + while os.path.islink(this_file): + resolved = os.readlink(this_file) + if resolved[0] != '/': + this_file = os.path.join(os.path.dirname(this_file), resolved) + else: + this_file = resolved app = MesonApp(dir1, dir2, this_file, options) print ('Source dir: ' + app.source_dir) print ('Build dir: ' + app.build_dir) |