Updated Branches: refs/heads/flume-1.3.0 9636067d4 -> c0659f25d
FLUME-1701: StagedInstall has -dist hard coded (Brock Noland via Brock Noland) Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/c0659f25 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/c0659f25 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/c0659f25 Branch: refs/heads/flume-1.3.0 Commit: c0659f25d5881c7a7abcc59d4dcc3bd00f96c07c Parents: 9636067 Author: Brock Noland <[email protected]> Authored: Tue Nov 13 09:59:57 2012 -0600 Committer: Brock Noland <[email protected]> Committed: Tue Nov 13 10:00:30 2012 -0600 ---------------------------------------------------------------------- .../org/apache/flume/test/util/StagedInstall.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/c0659f25/flume-ng-tests/src/test/java/org/apache/flume/test/util/StagedInstall.java ---------------------------------------------------------------------- diff --git a/flume-ng-tests/src/test/java/org/apache/flume/test/util/StagedInstall.java b/flume-ng-tests/src/test/java/org/apache/flume/test/util/StagedInstall.java index e332b63..bc58340 100644 --- a/flume-ng-tests/src/test/java/org/apache/flume/test/util/StagedInstall.java +++ b/flume-ng-tests/src/test/java/org/apache/flume/test/util/StagedInstall.java @@ -328,7 +328,7 @@ public class StagedInstall { try { tarballInputStream = new GZIPInputStream( new FileInputStream(tarballFile)); - File temp2File = File.createTempFile("flume", "-dist", destDir); + File temp2File = File.createTempFile("flume", "-bin", destDir); String temp2FilePath = temp2File.getCanonicalPath(); temp2File.delete(); @@ -407,7 +407,7 @@ public class StagedInstall { public boolean accept(File pathname) { String name = pathname.getName(); if (name != null && name.startsWith("apache-flume-") - && name.endsWith("-dist.tar.gz")) { + && name.endsWith("-bin.tar.gz")) { return true; } return false;
