diff --git a/fix_code_style.sh b/fix_code_style.sh index ae7d8287aa..07eb9ccb37 100755 --- a/fix_code_style.sh +++ b/fix_code_style.sh @@ -13,6 +13,8 @@ fi ASTYLE_VERSION=`astyle --version 2>&1| awk '{print $4}'` echo "Using astyle version $ASTYLE_VERSION" +set -f + if [ $(bc <<< "$ASTYLE_VERSION >= 2.03") -eq 1 ]; then astyle --style=kr \ --indent=spaces=2 \