/usr/share/groovy/bin/groovyc is in groovy 2.0.0~beta2+isreally1.8.6-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #!/bin/sh
##############################################################################
## ##
## Groovy JVM Bootstrap for UN*X ##
## ##
##############################################################################
##
## $Revision$
## $Date$
##
GROOVY_APP_NAME=GroovyC
# resolve links - $0 may be a soft-link
PRG="$0"
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
DIRNAME=`dirname "$PRG"`
. "$DIRNAME/startGroovy"
startGroovy org.codehaus.groovy.tools.FileSystemCompiler "$@"
|