From: Tim Vaughan Date: Wed, 13 May 2020 16:47:55 +0000 (+0200) Subject: Fixed bug in script execution chwd code. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=81e322c82b1f1dbf41dc801d48cc2b406dbe17dc;p=scratchy.git Fixed bug in script execution chwd code. --- 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)