diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-04-28 16:41:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-04-28 16:41:02 +0200 |
commit | b2d5f82512d0118a0668ce02f1a0730c3dcd50b8 (patch) | |
tree | b470b17e276a67164212065f164823aa30b5165f /bdep/bdep.cxx | |
parent | 77a9dc17b487123dc1aaf5c41b539d9abfe32dee (diff) |
Implement auto-synchronization via build system hook
Diffstat (limited to 'bdep/bdep.cxx')
-rw-r--r-- | bdep/bdep.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bdep/bdep.cxx b/bdep/bdep.cxx index 2541325..82a4259 100644 --- a/bdep/bdep.cxx +++ b/bdep/bdep.cxx @@ -121,7 +121,8 @@ try { using namespace cli; - exec_dir = path (argv[0]).directory (); + argv0 = argv[0]; + exec_dir = path (argv0).directory (); // This is a little hack to make our baseutils for Windows work when called // with absolute path. In a nutshell, MSYS2's exec*p() doesn't search in the |