Sync scripts with Arm internal CI
This patch syncs utility scripts and scripts
in the script directory with the internal CI.
Where a path update is required,
the changes have been commented out.
Signed-off-by: Zelalem <zelalem.aweke@arm.com>
Change-Id: Ifa4bd805e345184d1378e8423e5f878a2fbfbcd4
diff --git a/script/static-checks/static-checks-coding-style-line-endings.sh b/script/static-checks/static-checks-coding-style-line-endings.sh
index 87e149c..ae7a6db 100755
--- a/script/static-checks/static-checks-coding-style-line-endings.sh
+++ b/script/static-checks/static-checks-coding-style-line-endings.sh
@@ -11,13 +11,16 @@
LOG_FILE=`mktemp -t common.XXXX`
-# For all the source and doc files (*.h,*.c,*.S,*.mk,*.md)
+# For all the source and doc files
# We only return the files that contain CRLF
find "." -\( \
-name '*.S' -or \
-name '*.c' -or \
-name '*.h' -or \
- -name '*.md' -or \
+ -name '*.i' -or \
+ -name '*.dts' -or \
+ -name '*.dtsi' -or \
+ -name '*.rst' -or \
-name 'Makefile' -or \
-name '*.mk' \
-\) -exec grep --files-with-matches $'\r$' {} \; &> "$LOG_FILE"