hack/make/test-integration-cli: introduce MAKEDIR variable

- every execution of dirname costs time
- less repeating

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
Upstream-commit: 6533cb973f6bab672018148fd6a67644580cc61f
Component: engine
This commit is contained in:
Jörg Thalheim
2015-04-14 18:43:33 +02:00
parent 438e1a9b5d
commit 64b904ff2d
17 changed files with 27 additions and 26 deletions

View File

@ -6,7 +6,7 @@ BINARY_NAME="docker-$VERSION"
BINARY_EXTENSION="$(binary_extension)"
BINARY_FULLNAME="$BINARY_NAME$BINARY_EXTENSION"
source "$(dirname "$BASH_SOURCE")/.go-autogen"
source "${MAKEDIR}/.go-autogen"
go build -compiler=gccgo \
-o "$DEST/$BINARY_FULLNAME" \