1

fix build-and-file

This commit is contained in:
Motiejus Jakštys 2021-06-20 14:37:28 +03:00 committed by Motiejus Jakštys
parent 94eb081d6d
commit f65969f038

View File

@ -2,7 +2,8 @@
# 'bazel' binary is stored in $HOME in builds.sr.ht. # 'bazel' binary is stored in $HOME in builds.sr.ht.
export PATH=$PATH:$HOME export PATH=$PATH:$HOME
set -xeuo pipefail # -o pipefail fails `bazel aquery ...`: it errs if it can't output to stdout.
set -xeu
bazel build "$@" bazel build "$@"
execpath=$(bazel aquery "$@" 2>/dev/null | \ execpath=$(bazel aquery "$@" 2>/dev/null | \