Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/build
diff options
context:
space:
mode:
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