diff options
Diffstat (limited to 'src/scripts')
-rw-r--r-- | src/scripts/run-java-tool.bash.in (renamed from src/scripts/run-java-tool.bash) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scripts/run-java-tool.bash b/src/scripts/run-java-tool.bash.in index 57106a9..d6b41d4 100644 --- a/src/scripts/run-java-tool.bash +++ b/src/scripts/run-java-tool.bash.in @@ -1,10 +1,10 @@ -#!/bin/bash +#!@GENTOO_PORTAGE_EPREFIX@/bin/bash -user_vm="${HOME}/.gentoo/java-config-2/current-user-vm" -system_vm="/etc/java-config-2/current-system-vm" +user_vm="${HOME}/.gentoo@GENTOO_PORTAGE_EPREFIX@/java-config-2/current-user-vm" +system_vm="@GENTOO_PORTAGE_EPREFIX@/etc/java-config-2/current-system-vm" # Try GENTOO_VM if [[ -n ${GENTOO_VM} ]]; then - vmpath="/usr/lib/jvm/${GENTOO_VM}/" + vmpath="@GENTOO_PORTAGE_EPREFIX@/usr/lib/jvm/${GENTOO_VM}/" # Then user VM elif [[ -h ${user_vm} ]]; then vmpath=$(readlink ${user_vm}) |