From f435bb24ab3e957a6f51e431d84aefd33a3d2d68 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sun, 14 Jun 2020 14:09:32 -0500 Subject: [PATCH] Remove extra function on some installs. --- jpm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jpm b/jpm index 72790f72..057837e7 100755 --- a/jpm +++ b/jpm @@ -19,6 +19,9 @@ # Defaults # +###START### + +# Overriden on some installs. (def- exe-dir "Directory containing jpm script" (do @@ -26,12 +29,11 @@ (def i (last (string/find-all sep exe))) (slice exe 0 i))) -###START### -# Overriden on some installs. (def- install-paths {:headerpath (os/realpath (string exe-dir "/../include/janet")) :libpath (os/realpath (string exe-dir "/../lib")) :binpath exe-dir}) + ###END### # Default based on janet binary location