summaryrefslogtreecommitdiff
path: root/runner/shell/target.go
diff options
context:
space:
mode:
Diffstat (limited to 'runner/shell/target.go')
-rw-r--r--runner/shell/target.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/runner/shell/target.go b/runner/shell/target.go
index db3fcc8..0194b5d 100644
--- a/runner/shell/target.go
+++ b/runner/shell/target.go
@@ -2,7 +2,6 @@ package shell
import (
"os/exec"
- "path/filepath"
"pik/model"
"pik/runner"
)
@@ -31,5 +30,5 @@ func (s *Target) Label() string {
}
func (s *Target) Create(src *model.Source) *exec.Cmd {
- return exec.Command(s.Shell, filepath.Join(src.Path, s.Script))
+ return exec.Command(s.Shell, s.Script)
}