import
[web.mtrack] / bin / setup
1 #!/bin/sh
2
3 if test -z "$PHP" ; then
4         PHP=`which php`
5 fi
6
7 if test ! -x "$PHP" ; then
8         echo "Could not find PHP; please install PHP 5.2 or later"
9         exit 1
10 fi
11
12 if test ! -f bin/setup ; then
13         echo "You must run me from the top-level mtrack dir"
14         exit 1
15 fi
16
17 exec $PHP bin/init.php $*