summaryrefslogtreecommitdiff
path: root/media-gfx/povtree/files/povtree
blob: 61e1e75c9ce12e64fd3c5438c3de67fb12eb3267 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

which java > /dev/null 2>&1 && \
	java -jar /usr/lib/povtree/povtree.jar $* && \
	exit 0

echo "No \"java\" binary found in your PATH."
echo "You should run \"java-config\" to choose your default VM."
exit 1