mirror of
https://github.com/janet-lang/janet
synced 2025-04-11 01:36:38 +00:00
Merge pull request #658 from pyrmont/bugfix.jpm-realpath
Fix argument passing to os/realpath in jpm
This commit is contained in:
commit
90639e5068
2
jpm
2
jpm
@ -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"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user