The Lambda Lab
/
projects
/
scratchy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf28e07
)
Fixed bug in script execution chwd code.
author
Tim Vaughan
<timv@ughan.xyz>
Wed, 13 May 2020 16:47:55 +0000
(18:47 +0200)
committer
Tim Vaughan
<timv@ughan.xyz>
Wed, 13 May 2020 16:47:55 +0000
(18:47 +0200)
scratchy.scm
patch
|
blob
|
history
diff --git
a/scratchy.scm
b/scratchy.scm
index
b48ffc4
..
ecb0b65
100644
(file)
--- a/
scratchy.scm
+++ b/
scratchy.scm
@@
-234,7
+234,7
@@
(if (legal-script-filename? filename config)
(let* ((sexp (with-input-from-file filename read))
(script-result (with-selector-dir
-
selector
config
+
(pathname-directory selector)
config
(lambda ()
(apply (eval sexp) arguments)))))
(when (pair? script-result)