#!/bin/sh
if [ "$0" = /usr/local/bin/arm ]; then
  arm_base=/usr/local/share/arm/
else
  arm_base=$( dirname "$0" )/src/
fi

python2.7 "${arm_base}prereq.py" $*

if [ $? = 0 ]; then
  exec python2.7 -W ignore::DeprecationWarning "${arm_base}starter.py" $*
fi

