1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/buildtools/scripts/configure.waf
Andrew Tridgell fa172c494f build: exit with an error if waf configure fails
We don't want configure in the build farm to show green when it fails
2010-05-05 16:14:13 +02:00

15 lines
249 B
Bash
Executable File

#!/bin/sh
PREVPATH=`dirname $0`
WAF=BUILDTOOLS/bin/waf
# using JOBS=1 gives maximum compatibility with
# systems like AIX which have broken threading in python
JOBS=1
export JOBS
cd BUILDPATH || exit 1
$WAF configure "$@" || exit 1
cd $PREVPATH