From: Sandro Santilli Date: Tue, 10 Oct 2017 08:29:21 +0000 (+0000) Subject: Remove trailing blanks X-Git-Tag: 2.5.0alpha~427 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68795271a65cb6aafa090de407780f2d3108618b;p=postgis Remove trailing blanks git-svn-id: http://svn.osgeo.org/postgis/trunk@15941 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/utils/create_unpackaged.pl b/utils/create_unpackaged.pl index 0b916ab09..6293abdfe 100755 --- a/utils/create_unpackaged.pl +++ b/utils/create_unpackaged.pl @@ -28,9 +28,9 @@ my $extname = shift(@ARGV); # drops are in the following order: # 1. Indexing system stuff # 2. Meta datatables -# 3. Aggregates +# 3. Aggregates # 3. Casts -# 4. Operators +# 4. Operators # 5. Functions # 6. Types # 7. Tables @@ -180,7 +180,7 @@ foreach my $agg (@aggs) { print "$addprefix AGGREGATE $1 ($2);\n"; } - else + else { die "Couldn't parse AGGREGATE line: $agg\n"; } @@ -206,7 +206,7 @@ foreach my $op (@ops) } } - + print "-- Register all casts.\n"; foreach my $cast (@casts) { @@ -233,7 +233,7 @@ foreach my $fn (@funcs) if ( ! exists($type_funcs{$fn_nm}) ) { print "$addprefix FUNCTION $fn_nm ($fn_arg);\n"; - } + } else { push(@type_funcs, $fn);