mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-02-08 03:22:38 +08:00
12 lines
194 B
Bash
Executable File
12 lines
194 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ $# -eq 0 ]] ; then
|
|
exit 0
|
|
fi
|
|
|
|
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
|
astyle \
|
|
--options=$DIR/astylerc \
|
|
--preserve-date \
|
|
$*
|