Browse Source

Tools: fixed code style on linux

master
Andrew Tridgell 6 years ago
parent
commit
871a019995
  1. 3
      Tools/CodeStyle/ardupilot-astyle.sh

3
Tools/CodeStyle/ardupilot-astyle.sh

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
#!/bin/sh
if [[ "$OSTYPE" == "darwin"* ]]; then
if [ $(uname) = "Darwin" ]; then
DIR=$(dirname $(greadlink -f $0))
else
DIR=$(dirname $(readlink -f $0))

Loading…
Cancel
Save