From 15980e294fcb70ce8e04efb198b26f66c4241ecb Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Sun, 25 Nov 2012 23:09:53 +0000 Subject: Create the logs dir rather than keeping it in git --- (limited to 'commands/build') diff --git a/commands/build b/commands/build index b90f0fa..6c06133 100755 --- a/commands/build +++ b/commands/build @@ -2,10 +2,13 @@ commandsdir=`dirname "$0"` rootdir=`dirname "$commandsdir"` +logsdir=$rootdir/logs helpersdir=$commandsdir/helpers timestamp=`date +%Y%m%d-%H%M%S` -logfile=$rootdir/logs/build-$timestamp.log +logfile=$logsdir/build-$timestamp.log + +mkdir -p $logsdir PYTHONPATH=$commandsdir $helpersdir/build | tee -a $logfile -- cgit v0.9.1