Skip to content

Commit

Permalink
run_pylint: BSD head requires options before arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpietsch committed Jan 27, 2020
1 parent b154f61 commit 117e5ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_pylint
Expand Up @@ -33,7 +33,7 @@ if [ $# == 0 ]; then
fi
done
for bin_path in bin/*; do
if [ -f ${bin_path} ] && $(head ${bin_path} -n1 | grep -q "#!/usr/bin/env python"); then
if [ -f ${bin_path} ] && $(head -n1 ${bin_path} | grep -q "#!/usr/bin/env python"); then
tests="$tests $bin_path"
fi
done
Expand Down

0 comments on commit 117e5ca

Please sign in to comment.