aboutsummaryrefslogtreecommitdiffhomepage
path: root/jpm
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2020-06-14 14:09:32 -0500
committerCalvin Rose <calsrose@gmail.com>2020-06-14 14:09:32 -0500
commitf435bb24ab3e957a6f51e431d84aefd33a3d2d68 (patch)
tree057fe4220e7b07ced5ea2e47999202a90d6dbb9a /jpm
parentOn nix platforms, patch jpm with path information. (diff)
Remove extra function on some installs.
Diffstat (limited to 'jpm')
-rwxr-xr-xjpm6
1 files 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