1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-27 17:00:27 +00:00

Merge pull request #658 from pyrmont/bugfix.jpm-realpath

Fix argument passing to os/realpath in jpm
This commit is contained in:
Calvin Rose 2021-03-11 18:12:38 -06:00 committed by GitHub
commit 90639e5068
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
jpm
View File

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