aboutsummaryrefslogtreecommitdiff
path: root/scripts/fix_code_formatting.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fix_code_formatting.sh')
-rwxr-xr-xscripts/fix_code_formatting.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/fix_code_formatting.sh b/scripts/fix_code_formatting.sh
index 721ade853f..021f92516f 100755
--- a/scripts/fix_code_formatting.sh
+++ b/scripts/fix_code_formatting.sh
@@ -24,7 +24,7 @@ if [ $# -eq 0 ]
then
files=$(find $DIRECTORIES -type f \( -name \*.cpp -o -iname \*.h -o -name \*.inl -o -name \*.cl -o -name \*.cs \))
else
- files=$@
+ files=$@
fi
for f in $files
do
@@ -33,7 +33,7 @@ do
continue
fi
- sed -i 's/\t/ /g' $f
- clang-format -i -style=file $f
- astyle -n -q $ASTYLE_PARAMETERS $f
+ sed -i 's/\t/ /g' $f
+ clang-format -i -style=file $f
+ astyle -n -q $ASTYLE_PARAMETERS $f
done