aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorMichael Camilleri <mike@inqk.net>2020-06-18 19:07:43 +0900
committerMichael Camilleri <mike@inqk.net>2020-06-18 19:07:43 +0900
commit536648ec1933850701e74939f53bc379aa1be800 (patch)
treecab546cc69d14d64a3cf860a69176dcce9e36084 /tools
parentUpdate changelog. (diff)
Use function for install-paths
Diffstat (limited to 'tools')
-rw-r--r--tools/patch-jpm.janet2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patch-jpm.janet b/tools/patch-jpm.janet
index 741280fd..b0f812f3 100644
--- a/tools/patch-jpm.janet
+++ b/tools/patch-jpm.janet
@@ -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)))))