From 81e322c82b1f1dbf41dc801d48cc2b406dbe17dc Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Wed, 13 May 2020 18:47:55 +0200 Subject: [PATCH] Fixed bug in script execution chwd code. --- scratchy.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scratchy.scm b/scratchy.scm index b48ffc4..ecb0b65 100644 --- 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) -- 2.20.1