/usr/bin/clojurec1.2 is in clojure1.2 1.2.1+dfsg-4.
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 34 35 36 | #!/bin/sh
dest_dir=.
warn_reflect=false
if [ $# -eq 0 ] ; then
echo "usage: $0 [-d <destination-directory>] [-W/-Wreflect] [-cp/-classpath <classpath>] lib1 lib2 ..."
exit 1
fi
if [ "x$CLASSPATH" = "x" ] ; then
extra_classpath=""
else
extra_classpath=":$CLASSPATH"
fi
while true ; do
case "$1" in
-d)
dest_dir="$2"
shift 2 ;;
-W | -Wreflect)
warn_reflect=true
shift ;;
-cp | -classpath)
extra_classpath=":$2"
shift 2 ;;
--)
shift
break ;;
*)
break ;;
esac
done
exec java -cp /usr/share/java/clojure-1.2.jar:"$dest_dir$extra_classpath" -Dclojure.compile.path="$dest_dir" -Dclojure.compile.warn-on-reflection=$warn_reflect clojure.lang.Compile "$@"
|