mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Fix Java tests by passing correct library path to JVM.
This commit is contained in:
@@ -16,5 +16,6 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
cmd=$(echo $1 | sed -e 's,./t/,,' -e 's,.class,,')
|
||||
$JAVA $cmd
|
||||
cmd=$(echo $1 | sed -e 's,^./t/,,' -e 's,.class$,,')
|
||||
|
||||
$JAVA -Djava.library.path=.libs $cmd
|
||||
|
||||
Reference in New Issue
Block a user