From 536648ec1933850701e74939f53bc379aa1be800 Mon Sep 17 00:00:00 2001 From: Michael Camilleri Date: Thu, 18 Jun 2020 19:07:43 +0900 Subject: Use function for install-paths --- tools/patch-jpm.janet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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))))) -- cgit v1.2.3