summaryrefslogtreecommitdiff
path: root/runner
diff options
context:
space:
mode:
Diffstat (limited to 'runner')
-rw-r--r--runner/shell/hydrated.go2
-rw-r--r--runner/shell/shell.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/runner/shell/hydrated.go b/runner/shell/hydrated.go
index 7ead74c..1ecce51 100644
--- a/runner/shell/hydrated.go
+++ b/runner/shell/hydrated.go
@@ -17,7 +17,7 @@ func (h *Hydrated) Icon() string {
}
func (h *Hydrated) Description() string {
- desc, err := describe.Describe(h.BaseTarget.Script)
+ desc, err := describe.Describe(h.BaseTarget, h.BaseTarget.Script)
if err != nil {
spool.Warn("%v\n", err)
return ""
diff --git a/runner/shell/shell.go b/runner/shell/shell.go
index c9d7134..a184182 100644
--- a/runner/shell/shell.go
+++ b/runner/shell/shell.go
@@ -97,7 +97,7 @@ func (s *shell) CreateTarget(fs fs.FS, src string, file string, _ fs.DirEntry) (
MyTags: model.TagsFromFilename(filename),
},
Shell: shell,
- Script: filepath.Join(src, file),
+ Script: file,
SubValue: sub,
}, nil
}