2016-01-25 23:12:21 +01:00
|
|
|
#!/bin/sh
|
2020-05-10 20:09:31 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
2016-01-25 23:12:21 +01:00
|
|
|
#
|
|
|
|
# DESCR: Check that source files are not executable
|
|
|
|
|
|
|
|
LC_ALL=C export LC_ALL
|
2020-07-16 13:38:01 +02:00
|
|
|
git ls-tree --full-tree -r HEAD src tests |grep "^100[7531][7531][7531] blob " |cut -f2- |grep -v "\.sh$" | \
|
2016-01-25 23:12:21 +01:00
|
|
|
sed -e "s,^.*$,File & has one or more executable bits set in the file permissions.,"
|