#!/bin/bash commandsdir=`dirname "$0"` rootdir=`dirname "$commandsdir"` helpersdir=$commandsdir/helpers timestamp=`date +%Y%m%d-%H%M%S` logfile=$rootdir/logs/build-$timestamp.log PYTHONPATH=$commandsdir $helpersdir/build | tee -a $logfile exit ${PIPESTATUS[0]}