]> granicus.if.org Git - postgis/commitdiff
Fix astyle call for space-based indent files
authorSandro Santilli <strk@kbt.io>
Wed, 28 Feb 2018 22:20:08 +0000 (22:20 +0000)
committerSandro Santilli <strk@kbt.io>
Wed, 28 Feb 2018 22:20:08 +0000 (22:20 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16437 b70326c6-7e19-0410-871a-916f4a2858ee

astyle.sh

index 2e0aa4c111acf0b014ac42b7ba5326f643e5a5fa..fe3ef831cf2160b7fc8970d723880886b47f414b 100755 (executable)
--- a/astyle.sh
+++ b/astyle.sh
@@ -40,4 +40,4 @@ CFILES_SPACE="liblwgeom/*.c topology/*.c"
 
 # Run the standard format on the files, and do not
 # leave .orig files around for altered files.
-astyle --style=ansi --indent=space --suffix=none $CFILES_SPACE
+astyle --style=ansi --indent=spaces=2 --suffix=none $CFILES_SPACE