You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2014/03/03 19:54:56 UTC
git commit: Updated dash in front of flags for tar command in fetcher.
Repository: mesos
Updated Branches:
refs/heads/master 73136daed -> e53ec0dcf
Updated dash in front of flags for tar command in fetcher.
Review: https://reviews.apache.org/r/18697/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e53ec0dc
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e53ec0dc
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e53ec0dc
Branch: refs/heads/master
Commit: e53ec0dcf0afa06924e8c86ad6b7efbdab646800
Parents: 73136da
Author: Anton Lindström <an...@alley.se>
Authored: Mon Mar 3 10:52:50 2014 -0800
Committer: Vinod Kone <vi...@twitter.com>
Committed: Mon Mar 3 10:54:37 2014 -0800
----------------------------------------------------------------------
src/launcher/fetcher.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/e53ec0dc/src/launcher/fetcher.cpp
----------------------------------------------------------------------
diff --git a/src/launcher/fetcher.cpp b/src/launcher/fetcher.cpp
index 5c659a4..263dd70 100644
--- a/src/launcher/fetcher.cpp
+++ b/src/launcher/fetcher.cpp
@@ -44,7 +44,7 @@ Try<bool> extract(const string& filename, const string& directory)
strings::endsWith(filename, ".tar.bz2") ||
strings::endsWith(filename, ".txz") ||
strings::endsWith(filename, ".tar.xz")) {
- command = "tar -C '" + directory + "' xJf";
+ command = "tar -C '" + directory + "' -xJf";
} else if (strings::endsWith(filename, ".zip")) {
command = "unzip -d '" + directory + "'";
} else {