aboutsummaryrefslogtreecommitdiff
blob: 3204410113a7d6fe846a922f50ca013c010a9edd (plain)
1
2
3
4
5
6
7
8
9
10
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/
else
	execme=/usr/share/java-config/vms/system-vm/
fi

exec ${execme}/bin/$(basename $0) "${@}"