diff options
author | Mehrdad Afshari <mmx@google.com> | 2017-12-19 09:15:18 -0800 |
---|---|---|
committer | Mehrdad Afshari <mmx@google.com> | 2017-12-19 09:52:16 -0800 |
commit | 5f7ab9b519d6ccf9cd438ab3f1903a1d2a25ad07 (patch) | |
tree | ed5ead200f9772dc8256bceacb18abd57cb6304b /tools | |
parent | 11eb3222045ad48eb71efa927da033967e5d0703 (diff) |
Fix check_owners.sh to pass shellcheck
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/sanity/check_owners.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/run_tests/sanity/check_owners.sh b/tools/run_tests/sanity/check_owners.sh index b681fed1bb..de0e092578 100755 --- a/tools/run_tests/sanity/check_owners.sh +++ b/tools/run_tests/sanity/check_owners.sh @@ -18,12 +18,12 @@ set -e export TEST=true -cd `dirname $0`/../../.. +cd "$(dirname "$0")/../../.." owners=.github/CODEOWNERS -want_owners=`mktemp /tmp/submXXXXXX` +want_owners=$(mktemp /tmp/submXXXXXX) -tools/mkowners/mkowners.py -o $want_owners -diff -u $owners $want_owners +tools/mkowners/mkowners.py -o "$want_owners" +diff -u "$owners" "$want_owners" -rm $want_owners +rm "$want_owners" |