Repository: mesos Updated Branches: refs/heads/master 8a66e33bb -> ca50df15a
Removed flag J from tar command in fetcher. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ca50df15 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ca50df15 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ca50df15 Branch: refs/heads/master Commit: ca50df15ae9b299322407a25d11d4e1eca0f4205 Parents: 8a66e33 Author: Anton Lindström <[email protected]> Authored: Wed Mar 5 23:42:13 2014 -0800 Committer: Vinod Kone <[email protected]> Committed: Wed Mar 5 23:43:05 2014 -0800 ---------------------------------------------------------------------- src/launcher/fetcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/ca50df15/src/launcher/fetcher.cpp ---------------------------------------------------------------------- diff --git a/src/launcher/fetcher.cpp b/src/launcher/fetcher.cpp index 263dd70..98ebc2e 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 + "' -xf"; } else if (strings::endsWith(filename, ".zip")) { command = "unzip -d '" + directory + "'"; } else {
