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:
commit
90639e5068
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