aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-03 15:13:39 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-03 15:13:39 +0000
commit275b3edf6b82a47606017c3e2c716af8a4dde1f0 (patch)
treef0fbb797e41e9b94bf9945dd8907eb90640de24e
parentindent fix (diff)
downloadjava-config-275b3edf6b82a47606017c3e2c716af8a4dde1f0.tar.gz
java-config-275b3edf6b82a47606017c3e2c716af8a4dde1f0.tar.bz2
java-config-275b3edf6b82a47606017c3e2c716af8a4dde1f0.zip
silly name change
svn path=/java-config-ng/branches/symlink-axxo/; revision=310
-rwxr-xr-xsrc/run-java-tool10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/run-java-tool b/src/run-java-tool
index 3204410..e2b1668 100755
--- a/src/run-java-tool
+++ b/src/run-java-tool
@@ -1,11 +1,11 @@
#!/bin/bash
if [[ -n ${GENTOO_VM} ]]; then
- execme=/usr/share/java-config/vms/${GENTOO_VM}/
-elif [[ -d ${HOME}/.gentoo/user-vm ]]; then
- execme=${HOME}/.gentoo/user-vm/
+ vmpath=/usr/share/java-config/vms/${GENTOO_VM}/
+elif [[ -h ${HOME}/.gentoo/user-vm ]]; then
+ vmpath=${HOME}/.gentoo/user-vm/
else
- execme=/usr/share/java-config/vms/system-vm/
+ vmpath=/usr/share/java-config/vms/system-vm/
fi
-exec ${execme}/bin/$(basename $0) "${@}"
+exec ${vmpath}/bin/$(basename $0) "${@}"