Enforce shellcheck on shellscripts under test/

pull/14360/head
Mehrdad Afshari 7 years ago
parent c6e82b6872
commit 35bace9b62
  1. 4
      tools/distrib/python_wrapper.sh
  2. 1
      tools/run_tests/sanity/check_shellcheck.sh

@ -16,7 +16,7 @@
for p in python2.7 python2.6 python2 python not_found ; do
python=`which $p || echo not_found`
python=$(which $p || echo not_found)
if [ -x "$python" ] ; then
break
@ -25,7 +25,7 @@ for p in python2.7 python2.6 python2 python not_found ; do
done
if [ -x "$python" ] ; then
exec $python $@
exec "$python" "$@"
else
echo "No acceptable version of python found on the system"
exit 1

@ -19,6 +19,7 @@ set -e
ROOT="$(dirname "$0")/../../.."
DIRS=(
'test'
'tools/run_tests'
)

Loading…
Cancel
Save