Skip to content

Commit

Permalink
use jar xf to unzip
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangs18 committed Mar 14, 2024
1 parent f859c67 commit f1c7445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/kbaseauthcontroller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ func pullTemplatesOutofAuth2Jar(classPath string) (string, error) {
return "", err
}

cmdargs := []string{classPath, "-d", dirPath}
cmd := exec.Command("unzip", cmdargs...)
cmdargs := []string{"xf", classPath}
cmd := exec.Command("jar", cmdargs...)
cmd.Stdout = outfile
cmd.Stderr = outfile
err = cmd.Start()
Expand Down

0 comments on commit f1c7445

Please sign in to comment.