Add cleanup/refactor portion of #2010 for hack and Dockerfile updates

This commit is contained in:
Tianon Gravi
2013-09-30 13:57:30 -06:00
parent ff85031980
commit ccefe47897
3 changed files with 28 additions and 18 deletions
+3 -3
View File
@@ -2,6 +2,6 @@
DEST=$1
go build -o $DEST/docker-$VERSION -ldflags "$LDFLAGS" ./docker
echo "Created binary: $DEST/docker-$VERSION"
if go build -o $DEST/docker-$VERSION -ldflags "$LDFLAGS" ./docker; then
echo "Created binary: $DEST/docker-$VERSION"
fi