Skip to content

Commit

Permalink
Merge pull request #3 from JasonMathison/patch-1
Browse files Browse the repository at this point in the history
Make the tar extraction of a JDK less verbose
  • Loading branch information
dwnusbaum committed Dec 4, 2018
2 parents 1a201e5 + 245c732 commit e144d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/tools/JDKInstaller.java
Expand Up @@ -203,7 +203,7 @@ public void install(Launcher launcher, Platform p, FileSystem fs, TaskListener l

ProcStarter starter;
if (header[0]==0x1F && header[1]==(byte)0x8B) {// gzip
starter = launcher.launch().cmds("tar", "xvzf", jdkBundle);
starter = launcher.launch().cmds("tar", "xzf", jdkBundle);
} else {
fs.chmod(jdkBundle,0755);
starter = launcher.launch().cmds(jdkBundle, "-noregister");
Expand Down

0 comments on commit e144d0d

Please sign in to comment.