summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/cli/bundle.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/chickadee/cli/bundle.scm b/chickadee/cli/bundle.scm
index 4490356..4d431c5 100644
--- a/chickadee/cli/bundle.scm
+++ b/chickadee/cli/bundle.scm
@@ -290,6 +290,8 @@
((play)
(let ((exp (with-output-to-string
(lambda ()
+ (write '(set! %load-path (list (car %load-path))))
+ (write '(set! %load-compiled-path (list (car %load-compiled-path))))
(write '(use-modules (chickadee cli play)))
(write `(chickadee-play "init.scm" ,@args))))))
(string-append "-c " (shell-escape exp))))