fix: missing tar config (#83)

This commit is contained in:
Bo-Yi Wu
2018-11-05 15:22:19 +08:00
committed by GitHub
parent d798a8cc75
commit 4f7d31bd86
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ func (p *Plugin) Exec() error {
fmt.Println("tar all files into " + tar)
args := append(append([]string{}, "-cf", getRealPath(tar)), files...)
cmd := exec.Command("tar", args...)
cmd := exec.Command(p.Config.TarExec, args...)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
if err := cmd.Run(); err != nil {