Browse Source

build: no need to manually move things

Brian Waldon 10 years ago
parent
commit
3728a1ca9b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      build

+ 1 - 2
build

@@ -15,8 +15,7 @@ eval $(go env)
 
 
 if [ ${GOOS} = "linux" ]; then
 if [ ${GOOS} = "linux" ]; then
 	echo "Building flanneld..."
 	echo "Building flanneld..."
-	go build -o flanneld ${REPO_PATH}
-	mv ./flanneld $GOBIN
+	go build -o ${GOBIN}/flanneld ${REPO_PATH}
 else
 else
 	echo "Not on Linux - skipping flanneld build"
 	echo "Not on Linux - skipping flanneld build"
 fi
 fi