Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
Makes all paths use / instead of \
Browse files Browse the repository at this point in the history
Signed-off-by: ncordon <nacho.cordon.castillo@gmail.com>
  • Loading branch information
ncordon committed Sep 30, 2019
1 parent 64a194f commit 494f3f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ setOSEnv
# Parse arguments, execution depends on the order
# we feed the arguments to the script
function usage() {
echo "Usage: $0 [--clean|--get-dependencies|--native|--all]"
echo "Usage: $0 [--clean|--get-dependencies|--native|--all|--help]"
exit -3
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/org/bblfsh/client/v2/libuast/Libuast.scala
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ object Libuast {
case os if (os.contains("linux")) => ".so"
case os if (os.contains("windows")) => ".dll"
}
val fullLibName = name + ext
val path = Paths.get("lib", fullLibName).toString
val libName = name + ext
val path = "lib/" + libName
val in = getClass.getClassLoader.getResourceAsStream(path)
if (null == in) {
val msg = s"Failed to load library '$name' from '$path'"
Expand Down

0 comments on commit 494f3f2

Please sign in to comment.