mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 19:19:53 +00:00
Fix argument passing to os/realpath in jpm
This commit is contained in:
parent
c9097623d6
commit
84f0ab5356
2
jpm
2
jpm
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
(defn- try-real [path]
|
(defn- try-real [path]
|
||||||
"If os/realpath fails just use normal path."
|
"If os/realpath fails just use normal path."
|
||||||
(try (os/realpath) ([_] path)))
|
(try (os/realpath path) ([_] path)))
|
||||||
|
|
||||||
(defn- install-paths []
|
(defn- install-paths []
|
||||||
{:headerpath (try-real (string exe-dir "/../include/janet"))
|
{:headerpath (try-real (string exe-dir "/../include/janet"))
|
||||||
|
Loading…
Reference in New Issue
Block a user