mirror of
https://github.com/janet-lang/janet
synced 2025-09-07 13:28:03 +00:00
Use function for install-paths
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
(def- replace-peg
|
||||
(peg/compile
|
||||
~(% (* '(to "###START###")
|
||||
(constant ,(string/format "# Inserted by tools/patch-jpm.janet\n(def install-paths %j)" install-paths))
|
||||
(constant ,(string/format "# Inserted by tools/patch-jpm.janet\n(defn- install-paths [] %j)" install-paths))
|
||||
(thru "###END###")
|
||||
'(any 1)))))
|
||||
|
||||
|
Reference in New Issue
Block a user