Skip to content

Commit

Permalink
search bins even if not in path
Browse files Browse the repository at this point in the history
  • Loading branch information
nmacedo committed May 22, 2018
1 parent 25a1111 commit 35a5525
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ To perform analyses on an unbounded time horizon, one needs to have installed [E

## Building Electrum Analyzer

The Electrum Analyzer requires Java 7 and can be built using Maven. The script will also build Kodkod/Pardinus.
The Electrum Analyzer requires Java 8 and can be built using Maven. The script will also build Kodkod/Pardinus.

* Clone the Electrum repository, as well as Pardinus' as a submodule

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ private static boolean staticLibrary(String name) {
}
}
// check if in system path
for (String str : System.getenv("PATH").split(Pattern.quote(File.pathSeparator))) {
for (String str : (System.getenv("PATH")+":/usr/local/bin").split(Pattern.quote(File.pathSeparator))) {
Path pth = Paths.get(str);
if (Files.exists(pth.resolve(name))) {
System.out.println("Loaded: " + name);
Expand Down

0 comments on commit 35a5525

Please sign in to comment.