update builder interface

This commit is contained in:
Anthony Young 2011-11-09 22:40:49 -08:00
parent 0ae5fd039b
commit 792b1165a4

View file

@ -2,11 +2,12 @@
EXECUTOR_NUMBER=$1 EXECUTOR_NUMBER=$1
CONFIGURATION=$2 CONFIGURATION=$2
ADAPTER=$3
function usage() { function usage() {
echo "Usage: $0 - Build a configuration" echo "Usage: $0 - Build a configuration"
echo "" echo ""
echo "$0 [EXECUTOR_NUMBER] [CONFIGURATION]" echo "$0 [EXECUTOR_NUMBER] [CONFIGURATION] [ADAPTER]"
exit 1 exit 1
} }
@ -16,4 +17,4 @@ if [[ "$EXECUTOR_NUMBER" = "" || "$CONFIGURATION" = "" ]]; then
fi fi
# Execute configuration script # Execute configuration script
cd configurations && ./$CONFIGURATION.sh $EXECUTOR_NUMBER $CONFIGURATION cd configurations && ./$CONFIGURATION.sh $EXECUTOR_NUMBER $CONFIGURATION $ADAPTER