From 98df1296feef737368aad881ab45838daeb34f22 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 25 May 2012 04:13:03 -0500 Subject: Build fixes to acprep and build.sh --- tools/build.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'tools') diff --git a/tools/build.sh b/tools/build.sh index f0522451..185fe791 100755 --- a/tools/build.sh +++ b/tools/build.sh @@ -1,9 +1,12 @@ #!/bin/sh -time ( \ - cd ~/src/ledger ; \ - PATH=/usr/local/bin:/opt/local/bin:$PATH \ - nice -n 20 ./acprep --debug --python --doxygen make -j20 && \ - PATH=/usr/local/bin:/opt/local/bin:$PATH \ - nice -n 20 ./acprep --debug --python --doxygen check -j20 \ +flavor=$1 +shift 1 + +time ( \ + cd ~/src/ledger ; \ + PATH=/usr/local/bin:/opt/local/bin:$PATH \ + nice -n 20 ./acprep $flavor --debug --python --doxygen make "$@" && \ + PATH=/usr/local/bin:/opt/local/bin:$PATH \ + nice -n 20 ./acprep $flavor --debug --python --doxygen check "$@" \ ) \ No newline at end of file -- cgit v1.2.3