diff options
| author | 2019-06-19 22:05:13 -0400 | |
|---|---|---|
| committer | 2019-06-19 22:05:13 -0400 | |
| commit | 300124961f57fe5aa60eb610397f73cb32064cd4 (patch) | |
| tree | 8b9abac8f9caa469607437543e33e4b503fd04b8 | |
| parent | Load jimage files before janet source files. (diff) | |
Change -c option to use dofile instead of require
| -rw-r--r-- | src/mainclient/init.janet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainclient/init.janet b/src/mainclient/init.janet index 6259e67c..2f3d9ce3 100644 --- a/src/mainclient/init.janet +++ b/src/mainclient/init.janet @@ -44,7 +44,7 @@ "n" (fn [&] (set *colorize* false) 1) "m" (fn [i &] (setdyn :syspath (get process/args (+ i 1))) 2) "c" (fn [i &] - (def e (require (get process/args (+ i 1)))) + (def e (dofile (get process/args (+ i 1)))) (spit (get process/args (+ i 2)) (make-image e)) (set *no-file* false) 3) |
