Review feedback.
This commit is contained in:
1 parent
8ee409d9bd
commit
50cd716220
1 file changed
-13
@@ -6,19 +6,6 @@ export GOPATH
|
|||||||
|
|
||||||
WEAVE_SRC=$GOPATH/src/github.com/weaveworks/weave
|
WEAVE_SRC=$GOPATH/src/github.com/weaveworks/weave
|
||||||
|
|
||||||
# Expect that the weave repo will be bind-mounted into $GOPATH
|
|
||||||
if ! [ -e $WEAVE_SRC ] ; then
|
|
||||||
cat 2>&1 <<EOF
|
|
||||||
Nothing at ${WEAVE_SRC}. Please
|
|
||||||
bind-mount the golang workspace containing weave with the
|
|
||||||
docker run -v option, e.g.:
|
|
||||||
|
|
||||||
$ docker run -v <host gopath>:${GOPATH} \\
|
|
||||||
weaveworks/weave-test
|
|
||||||
EOF
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If we run make directly, any files created on the bind mount
|
# If we run make directly, any files created on the bind mount
|
||||||
# will have awkward ownership. So we switch to a user with the
|
# will have awkward ownership. So we switch to a user with the
|
||||||
# same user and group IDs as source directory. We have to set a
|
# same user and group IDs as source directory. We have to set a
|
||||||
|
|||||||
Reference in new issue
Block a user