bash stricter mode
This commit is contained in:
parent
f6f6be1b88
commit
29e2317de3
@ -1,10 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 'bazel' binary is stored in $HOME in builds.sr.ht.
|
||||
export PATH=$PATH:$HOME
|
||||
|
||||
bazel build "$@"
|
||||
set -xeuo pipefail
|
||||
|
||||
bazel build "$@"
|
||||
execpath=$(bazel aquery "$@" 2>/dev/null | \
|
||||
awk "/action 'GoLink/{f=1};/Outputs: / &&f{print;exit}" | \
|
||||
awk -F'\\[|\\]' '{print $2}')
|
||||
|
Loading…
Reference in New Issue
Block a user