Browse Source
The shell script which checks the style relies on greping for the keyword "Formatted" in the output of astyle. But the program has localization support and will output in other languages e.g. german. This leads to all style checks always succeeding. I only tested this on Windows in Cygwin but I can imagine the problem also exists in non-english Ubuntu installations. Solution is the parameter --formatted of astyle which only produces any output if there was something to fix. This allows for a display language independent condition for an empty string inside the shell script.sbg
Matthias Grob
7 years ago
committed by
Beat Küng
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue