#!/bin/bash
SCRIPTDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
WD=`pwd`
# run the build php script
php ${SCRIPTDIR}/build.php $@
# return to the working directory
cd $WD