X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=scratchy.git;a=blobdiff_plain;f=scratchy.scm;h=409047d0caeec3ffa143a3b69bfba8616475f202;hp=b48ffc403bd3761c76354ed61dbc01f62488710f;hb=045c10a05d15f3a19bddfa8be26979e73f150cd0;hpb=cf28e07651622ee9049f7c3fc61f57496fe83a39 diff --git a/scratchy.scm b/scratchy.scm index b48ffc4..409047d 100644 --- a/scratchy.scm +++ b/scratchy.scm @@ -20,7 +20,7 @@ ;;; Global constants -(define scratchy-version "1.4.0") +(define scratchy-version "1.4.1") (define scratchy-footer (conc "\n" @@ -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)