Skip to content

Commit 8b8ea6f

Browse files
committed
Add some comments to runastyle script
1 parent 5a72bed commit 8b8ea6f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

runastyle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
#!/bin/bash
2+
# The version check in this script is used to avoid commit battles
3+
# between different developers that use different astyle versions as
4+
# different versions might have different output (this has happened in
5+
# the past).
6+
7+
# If project management wishes to take a newer astyle version into use
8+
# just change this string to match astyle version string.
29
ASTYLE_VERSION="Artistic Style Version 2.01"
10+
311
if [ "`astyle --version 2>&1`" != "${ASTYLE_VERSION}" ]; then
412
echo "You should use: ${ASTYLE_VERSION}";
513
exit 1;

0 commit comments

Comments
 (0)