Commit 69f2c560 authored by Costin Grigoras's avatar Costin Grigoras
Browse files

Initial commit of the user script

parent dc454e3a
#!/bin/bash -e
if ! echo "$CLASSPATH" | grep -q alien-users.jar -; then
if [ -f "$JALIEN_ROOT/lib/alien-users.jar" ]; then
CLASSPATH="$JALIEN_ROOT/lib/alien-users.jar:$CLASSPATH"
else
IAMHERE=`dirname $0`
if [ -f "$IAMHERE/../lib/alien-users.jar" ]; then
CLASSPATH="$IAMHERE/../lib/alien-users.jar:$CLASSPATH"
else
echo "Cannot locate alien-users.jar, please set JALIEN_ROOT or CLASSPATH to include it"
exit 1
fi
fi
fi
JALIEN_MAIN=${JALIEN_MAIN:-alien.JSh}
JAVA_OPTS=${JAVA_OPTS:--Xms32M -Xmx32M}
exec java $JAVA_OPTS $JALIEN_MAIN "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment