mirror of
https://github.com/appleboy/drone-scp.git
synced 2026-06-04 18:23:59 +08:00
fix: missing tar config (#83)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user