Commit 9afa67a2 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

ci: Strip \" from `py_files'

We want to pass `py_files' to pep8 command
as arguments and not as one single string.
parent 91a282af
......@@ -5,10 +5,10 @@ EXCLUDE=migrations,build,setup,distribute_setup.py,\
setup.py,rapi.py,dictconfig.py,ordereddict.py
# Keep only *.py files
py_files=`echo "$@" | awk '/.*\.py/' RS=" "`
py_files=$(echo "$@" | awk '/.*\.py/' RS=" " ORS=" ")
if [ -z "$py_files" ]; then
echo "No files to be tested"
else
pep8 --exclude=$EXCLUDE "$py_files"
pep8 --exclude=$EXCLUDE $py_files
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment