Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/build
blob: 71c69be6c00b910ef0afdb82d8e073cb941ddba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

commandsdir=`dirname "$0"`
rootdir=`dirname "$commandsdir"`
logsdir=$rootdir/logs
helpersdir=$commandsdir/helpers

timestamp=`date +%Y%m%d-%H%M%S`
logfile=$logsdir/build-$timestamp.log

mkdir -p $logsdir

PYTHONPATH=$commandsdir $helpersdir/build $@ | tee -a $logfile

exit ${PIPESTATUS[0]}