Fix check_owners.sh to pass shellcheck

pull/13823/head
Mehrdad Afshari 7 years ago
parent 11eb322204
commit 5f7ab9b519
  1. 10
      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"

Loading…
Cancel
Save