diff options
author | John Wiegley <johnw@newartisans.com> | 2012-05-25 04:13:03 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-05-25 04:13:14 -0500 |
commit | 98df1296feef737368aad881ab45838daeb34f22 (patch) | |
tree | 64b3bef6fd9a99fecbaaee946c4ad84cc6f77d86 /tools/build.sh | |
parent | ed150182fba35c605aafaf418aa18babf4901d48 (diff) | |
download | fork-ledger-98df1296feef737368aad881ab45838daeb34f22.tar.gz fork-ledger-98df1296feef737368aad881ab45838daeb34f22.tar.bz2 fork-ledger-98df1296feef737368aad881ab45838daeb34f22.zip |
Build fixes to acprep and build.sh
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 |