From 97230920651cf9e47e0f0a5947c36b52daa0eb29 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 16 Mar 2015 08:46:10 +0000 Subject: [PATCH] Strip newlines and comments from uninstall/drop scripts git-svn-id: http://svn.osgeo.org/postgis/trunk@13336 b70326c6-7e19-0410-871a-916f4a2858ee --- utils/create_undef.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/create_undef.pl b/utils/create_undef.pl index 7ec656843..6ab7bd21a 100755 --- a/utils/create_undef.pl +++ b/utils/create_undef.pl @@ -224,6 +224,8 @@ foreach my $fn (@funcs) { my $fn_nm = $1; my $fn_arg = $2; + $fn_arg =~ s/\-\-.*\n//g; + $fn_arg =~ s/\n//g; $fn_arg = strip_default($fn_arg); if ( ! exists($type_funcs{$fn_nm}) ) -- 2.50.1