forked from openkylin/platform_build
Pipe bazel() note text to stderr.
This allows subshell-ing bazel, e.g. bazel build $(bazel query //...) Test: . build/envsetup.sh; bazel build $(bazel query <expression>) Change-Id: If28b63769032b61e150422cb5b9b4e55c14cd13d
This commit is contained in:
parent
33571ac8dd
commit
c8b5e196ce
|
@ -330,8 +330,8 @@ function bazel()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if which bazel &>/dev/null; then
|
if which bazel &>/dev/null; then
|
||||||
echo "NOTE: bazel() function sourced from envsetup.sh is being used instead of $(which bazel)"
|
>&2 echo "NOTE: bazel() function sourced from envsetup.sh is being used instead of $(which bazel)"
|
||||||
echo
|
>&2 echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
"$T/tools/bazel" "$@"
|
"$T/tools/bazel" "$@"
|
||||||
|
|
Loading…
Reference in New Issue