#!/bin/sh

CLASSPATH=$(echo /usr/local/share/java/classes/ivy-1.4.1/* | tr \  :)
export CLASSPATH

main=fr.jayasoft.ivy.Main

JAVACMD=$(/usr/local/bin/javaPathHelper -c ivy)

if [ -z "${JAVACMD}" ]; then
        exit 1
fi

exec ${JAVACMD} $main "$@"
