1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-18 19:29:56 +00:00

Fix argument passing to os/realpath in jpm

This commit is contained in:
Michael Camilleri 2021-03-10 17:11:12 +09:00
parent c9097623d6
commit 84f0ab5356
No known key found for this signature in database
GPG Key ID: 7EB218A48DF8B572

2
jpm
View File

@ -44,7 +44,7 @@
(defn- try-real [path]
"If os/realpath fails just use normal path."
(try (os/realpath) ([_] path)))
(try (os/realpath path) ([_] path)))
(defn- install-paths []
{:headerpath (try-real (string exe-dir "/../include/janet"))