Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/build
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-25 23:09:53 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-25 23:09:53 (GMT)
commit15980e294fcb70ce8e04efb198b26f66c4241ecb (patch)
treeec4ad0e7313e4f80bf3d3ecdd1569899ce357a02 /commands/build
parent91ea798d316865135643a569799f96f98de68ef8 (diff)
Create the logs dir rather than keeping it in git
Diffstat (limited to 'commands/build')
-rwxr-xr-xcommands/build5
1 files changed, 4 insertions, 1 deletions
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