Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
FLUME-1701: StagedInstall has -dist hard coded
(Brock Noland via Brock Noland)
  • Loading branch information
Brock Noland committed Nov 13, 2012
1 parent 9636067 commit c0659f2
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -328,7 +328,7 @@ private File gunzipDistTarball(File tarballFile, File destDir)
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();

Expand Down Expand Up @@ -407,7 +407,7 @@ private String getRelativeTarballPath() throws Exception {
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;
Expand Down

0 comments on commit c0659f2

Please sign in to comment.