X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=scratchy.git;a=blobdiff_plain;f=scratchy.scm;h=409047d0caeec3ffa143a3b69bfba8616475f202;hp=cd4fa8eb891ab8838418e7d3184b9a5242cbf087;hb=045c10a05d15f3a19bddfa8be26979e73f150cd0;hpb=03b5e62d691ad9bcd89fb76e5b164a36cce9f17c diff --git a/scratchy.scm b/scratchy.scm index cd4fa8e..409047d 100644 --- a/scratchy.scm +++ b/scratchy.scm @@ -20,7 +20,7 @@ ;;; Global constants -(define scratchy-version "1.3.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)