Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/build
blob: 6c061333aa920cd926eae612e5989a54b96faf62 (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]}