Remove extra function on some installs.

This commit is contained in:
Calvin Rose 2020-06-14 14:09:32 -05:00
parent 853b33b67c
commit f435bb24ab
1 changed files with 4 additions and 2 deletions

6
jpm
View File

@ -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