mirror of
https://github.com/janet-lang/janet
synced 2025-02-22 11:10:02 +00:00
Remove extra function on some installs.
This commit is contained in:
parent
853b33b67c
commit
f435bb24ab
6
jpm
6
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user