mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-13 10:13:06 +00:00
Fix files with spaces causing issues
This commit is contained in:
parent
afa1b0077d
commit
62138630d2
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue