px4-firmware/Tools/astyle/fix_code_style.sh

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 \
$*