aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2013-02-13 21:07:40 +0000
committerRalph Sennhauser <sera@gentoo.org>2013-02-13 21:07:40 +0000
commite34976ee88fe4af11ac893a5d14d433b8fb0ff4d (patch)
treec9d37fea27c350c0e1871226b586228309acd292 /src
parentAdd missing bug reference to NEWS (diff)
downloadeselect-java-e34976ee88fe4af11ac893a5d14d433b8fb0ff4d.tar.gz
eselect-java-e34976ee88fe4af11ac893a5d14d433b8fb0ff4d.tar.bz2
eselect-java-e34976ee88fe4af11ac893a5d14d433b8fb0ff4d.zip
Prefixify run-java-tool
svn path=/projects/eselect-java/trunk/; revision=9207
Diffstat (limited to 'src')
-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})