X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=scratchy.git;a=blobdiff_plain;f=scratchy.scm;h=ecb0b656fa9967ad11dd85fcdba9e8e7b81eca43;hp=b48ffc403bd3761c76354ed61dbc01f62488710f;hb=81e322c82b1f1dbf41dc801d48cc2b406dbe17dc;hpb=cf28e07651622ee9049f7c3fc61f57496fe83a39 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)