You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by an...@apache.org on 2018/01/12 17:32:48 UTC
[09/10] mesos git commit: Windows: Explicitly state source and
destination path for extract.
Windows: Explicitly state source and destination path for extract.
Makes it more clear that it is in the correct order.
Review: https://reviews.apache.org/r/64962
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/93ab4940
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/93ab4940
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/93ab4940
Branch: refs/heads/master
Commit: 93ab49409e1a81679b50fd4f30f287bd4d4569a3
Parents: ff77d32
Author: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Authored: Thu Jan 4 14:57:49 2018 -0800
Committer: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Committed: Fri Jan 12 09:29:17 2018 -0800
----------------------------------------------------------------------
src/launcher/fetcher.cpp | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/93ab4940/src/launcher/fetcher.cpp
----------------------------------------------------------------------
diff --git a/src/launcher/fetcher.cpp b/src/launcher/fetcher.cpp
index e2372a1..7fc69fe 100644
--- a/src/launcher/fetcher.cpp
+++ b/src/launcher/fetcher.cpp
@@ -97,7 +97,9 @@ static Try<bool> extract(
"-Command",
"Expand-Archive",
"-Force",
+ "-Path",
sourcePath,
+ "-DestinationPath",
destinationDirectory};
#else
command = {"unzip", "-o", "-d", destinationDirectory, sourcePath};