mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 08:48:53 +08:00
Fixed formatting script.
This commit is contained in:
+5
-3
@@ -7,10 +7,10 @@ format_wildcards="""
|
||||
./test/*.*pp
|
||||
"""
|
||||
|
||||
echo astyle: $astyle
|
||||
echo format: $format
|
||||
#echo astyle: $astyle
|
||||
#echo format: $format
|
||||
|
||||
if [[ $format ]]
|
||||
if [[ $format -eq 1 ]]
|
||||
then
|
||||
echo formatting
|
||||
$astyle ${format_wildcards}
|
||||
@@ -22,4 +22,6 @@ else
|
||||
echo need to format
|
||||
exit 1
|
||||
fi
|
||||
echo no formatting needed
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user