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