summaryrefslogtreecommitdiff
path: root/tools/build.sh
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-05-25 04:13:03 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-05-25 04:13:14 -0500
commit98df1296feef737368aad881ab45838daeb34f22 (patch)
tree64b3bef6fd9a99fecbaaee946c4ad84cc6f77d86 /tools/build.sh
parented150182fba35c605aafaf418aa18babf4901d48 (diff)
downloadfork-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-xtools/build.sh15
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