1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #11455 from tianon/minor-formatting-consistency

Fix several very minor consistency issues
This commit is contained in:
Phil Estes 2015-03-19 09:57:57 -04:00
commit ae1d3d6d68
6 changed files with 7 additions and 5 deletions

View file

@ -14,6 +14,7 @@ go build \
-extldflags \"$EXTLDFLAGS_STATIC\"
" \
./dockerinit
echo "Created binary: $DEST/dockerinit-$VERSION"
ln -sf "dockerinit-$VERSION" "$DEST/dockerinit"

View file

@ -4,6 +4,7 @@ set -e
IAMSTATIC="true"
source "$(dirname "$BASH_SOURCE")/.go-autogen"
# dockerinit still needs to be a static binary, even if docker is dynamic
go build --compiler=gccgo \
-o "$DEST/dockerinit-$VERSION" \
"${BUILDFLAGS[@]}" \

View file

@ -2,7 +2,7 @@
# see test-integration-cli for example usage of this script
export PATH="$DEST/../binary:$DEST/../dynbinary:$DEST/../gccgo:$PATH"
export PATH="$DEST/../binary:$DEST/../dynbinary:$DEST/../gccgo:$DEST/../dyngccgo:$PATH"
if ! command -v docker &> /dev/null; then
echo >&2 'error: binary or dynbinary must be run before .integration-daemon-start'

1
hack/make/binary Executable file → Normal file
View file

@ -21,6 +21,7 @@ go build \
$LDFLAGS_STATIC_DOCKER
" \
./docker
echo "Created binary: $DEST/$BINARY_FULLNAME"
ln -sf "$BINARY_FULLNAME" "$DEST/docker$BINARY_EXTENSION"

5
hack/make/gccgo Executable file → Normal file
View file

@ -8,10 +8,10 @@ BINARY_FULLNAME="$BINARY_NAME$BINARY_EXTENSION"
source "$(dirname "$BASH_SOURCE")/.go-autogen"
go build --compiler=gccgo \
go build -compiler=gccgo \
-o "$DEST/$BINARY_FULLNAME" \
"${BUILDFLAGS[@]}" \
--gccgoflags "
-gccgoflags "
-g
$EXTLDFLAGS_STATIC_DOCKER
-Wl,--no-export-dynamic
@ -19,7 +19,6 @@ go build --compiler=gccgo \
" \
./docker
echo "Created binary: $DEST/$BINARY_FULLNAME"
ln -sf "$BINARY_FULLNAME" "$DEST/docker$BINARY_EXTENSION"