Skip to content
Permalink
Browse files

Support dos2unix as flip alternative

  • Loading branch information
m-kuhn committed Aug 16, 2015
1 parent 9fc1b48 commit f8dd490861d50227a22aa04292e659d6f4b6742c
Showing with 10 additions and 4 deletions.
  1. +10 −4 scripts/astyle.sh
@@ -29,10 +29,16 @@ if [ -z "$ASTYLE" ]; then
fi

if ! type -p flip >/dev/null; then
echo "flip not found" >&2
flip() {
:
}
if type -p dos2unix >/dev/null; then
flip() {
exec dos2unix $2
}
else
echo "flip not found" >&2
flip() {
:
}
fi
fi

if ! type -p pep8 >/dev/null; then

0 comments on commit f8dd490

Please sign in to comment.
You can’t perform that action at this time.