diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-05-29 01:23:34 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-05-31 19:14:39 +0300 |
commit | 3d18446acef5462e946fe79909b198b35c2bbfa0 (patch) | |
tree | eb60dab710569543bb8dd314e63eda745a4c166c /bpkg/pkg-unpack.cxx | |
parent | 45e82ae43be6444b0260daaf08eeb084eddbdb34 (diff) |
Port to MinGW
Diffstat (limited to 'bpkg/pkg-unpack.cxx')
-rw-r--r-- | bpkg/pkg-unpack.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bpkg/pkg-unpack.cxx b/bpkg/pkg-unpack.cxx index 8eedb1c..4424017 100644 --- a/bpkg/pkg-unpack.cxx +++ b/bpkg/pkg-unpack.cxx @@ -172,6 +172,12 @@ namespace bpkg args.push_back ("-C"); args.push_back (c.string ().c_str ()); + // An archive name that has a colon in it specifies a file or device on a + // remote machine. That makes it impossible to use absolute Windows paths + // unless we add the --force-local option. + // + args.push_back ("--force-local"); + args.push_back ("-xf"); args.push_back (a.string ().c_str ()); args.push_back (nullptr); |