diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-02-20 00:02:44 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-02-20 00:02:44 +0200 |
commit | 3abd5305c2115e72ad85c71caaa576c696c8cc70 (patch) | |
tree | 6f45234d285ce5a791740bb5d5d3b09700e2d3d8 | |
parent | 091b782e433e8a5a3af68c9cc05c9f22e63d28e2 (diff) | |
download | meson-3abd5305c2115e72ad85c71caaa576c696c8cc70.zip meson-3abd5305c2115e72ad85c71caaa576c696c8cc70.tar.gz meson-3abd5305c2115e72ad85c71caaa576c696c8cc70.tar.bz2 |
Default to cwd in mesonconf. Closes #400.
-rw-r--r-- | mesonbuild/mconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index f174425..67f2a91 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -182,7 +182,7 @@ class Conf: def run(args): args = mesonlib.expand_arguments(args) if not args: - sys.exit(1) + args = [os.getcwd()] options = parser.parse_args(args) if len(options.directory) > 1: print('%s <build directory>' % args[0]) |