fix integration test build of swarm

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2015-04-30 13:27:58 -07:00
parent 3e8d48f98e
commit 29deacba2f
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ function join() {
# Build the Swarm binary (if not already built)
function build_swarm() {
[ -x $SWARM_BINARY ] || (cd $SWARM_ROOT && godep go build -o $SWARM_BINARY)
[ -x $SWARM_BINARY ] || (rm -f $SWARM_BINARY && cd $SWARM_ROOT && godep go build -o $SWARM_BINARY)
}
# Run the swarm binary. You must NOT fork this command (swarm foo &) as the PID