Fix files with spaces causing issues

coverity_clang_test
ζeh Matt 2 years ago
parent afa1b0077d
commit 62138630d2
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0

@ -14,7 +14,7 @@ check_format_file() {
check_format() { check_format() {
local path=$1 local path=$1
for item in $(find "$path" -type f -name "*"); find "$path" -type f -name "*" | while read item;
do do
if [[ "$item" =~ .*\.(cpp|hpp|h) ]]; then if [[ "$item" =~ .*\.(cpp|hpp|h) ]]; then
check_format_file "$item" & check_format_file "$item" &

Loading…
Cancel
Save