javalib-team / sawja

Sawja provides a high level representation of Java bytecode programs and static analysis tools.
GNU General Public License v3.0
11 stars 4 forks source link

Locate bash using /usr/bin/env #3

Closed williewillus closed 2 years ago

williewillus commented 3 years ago

Not all systems install bash at /bin/bash. Most notably, some BSD systems don't ship bash as the default shell, and do not install third-party packages in /bin (they go in /usr/local/bin instead).

Use /usr/bin/env so that bash is automatically located, wherever it may be.

With this change, the package now builds properly on OpenBSD.

yesudeep commented 2 years ago

+1

https://github.com/javalib-team/sawja/issues/5