diff options
Diffstat (limited to 'tools/build.sh')
-rwxr-xr-x | tools/build.sh | 15 |
1 files changed, 9 insertions, 6 deletions
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 |