diff --git a/release/Linux/scripts/figtree b/release/Linux/scripts/figtree index 6dd9b68..37c6fbc 100755 --- a/release/Linux/scripts/figtree +++ b/release/Linux/scripts/figtree @@ -1,4 +1,2 @@ -#!/bin/sh - -java -Xms64m -Xmx512m -jar lib/figtree.jar "$@" - +#!/usr/bin/env bash +java -Xms64m -Xmx512m -jar "$(echo $0 | rev | cut -d'/' -f3- | rev)/lib/figtree.jar" "$@"