aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-04-27 15:30:04 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-04-27 15:30:04 +0200
commite3aa87e4ed52d668d54c9e3e252552778e815bab (patch)
tree1ab1c86c7d0140eb47bc466c153ba6d7cf54069e
parent35c11ded6defeb1778aa4c82ec102c864a54ca9e (diff)
Allow passing of competing binaries to fullcompMT.sh
-rwxr-xr-xfullcompMT.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/fullcompMT.sh b/fullcompMT.sh
index 7bb4665..93b4486 100755
--- a/fullcompMT.sh
+++ b/fullcompMT.sh
@@ -1,6 +1,10 @@
#!/usr/bin/env bash
-BINARIES="./gluon ./neutrino ./randino ./charm"
-NUMGAMES=5
+if [[ -z $@ ]]; then
+ BINARIES="./gluon ./neutrino ./randino ./charm"
+else
+ BINARIES="$@"
+fi
+NUMGAMES=10
if [[ ! -e competitions ]]; then
mkdir competitions || exit 1