Merge pull request #688 from aluzzardi/fix-integration

fix integration test build of swarm
This commit is contained in:
Alexandre Beslic 2015-04-30 14:32:34 -07:00
commit 5872d4c7b0
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