diff --git a/bin/gvp b/bin/gvp index d8d5300..d7a5096 100755 --- a/bin/gvp +++ b/bin/gvp @@ -59,9 +59,9 @@ case "$1" in export GVP_OLD_GOPATH GVP_OLD_GOBIN PATH GVP_NAME=$(pwd | sed -E "s/^.*\/(.*)$/\\1/") - GOBIN="$GVP_DIR/bin":$GOBIN - GOPATH=$GVP_DIR:$PWD - PATH="$GVP_DIR/bin":$PATH + GOBIN="$GVP_DIR/bin" + GOPATH="$GVP_DIR:$PWD" + PATH="$GOBIN:$PATH" export GOBIN GOPATH GVP_NAME PATH echo ">> Local GOPATH set." diff --git a/test/init_in_and_out_test.sh b/test/init_in_and_out_test.sh index 7c13f29..e07a81a 100755 --- a/test/init_in_and_out_test.sh +++ b/test/init_in_and_out_test.sh @@ -14,7 +14,7 @@ ORIGINAL_PATH=$PATH source $GVP in assert "echo $GOPATH" "$PWD/.godeps:$PWD" -assert "echo $GOBIN" "$PWD/.godeps/bin:$ORIGINAL_GOBIN" +assert "echo $GOBIN" "$PWD/.godeps/bin" assert "echo $PATH" "$PWD/.godeps/bin:$ORIGINAL_PATH"