]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- remove trailing whitespace before trying to split %configure options
authorsparky <sparky@pld-linux.org>
Sun, 30 Jan 2011 15:47:55 +0000 (15:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.486

adapter.awk

index 56e9faf567f3992cd81a684a266cfa1c3d13c232..53799242eb4f138d1d1f86371817fdffeaee2217 100644 (file)
@@ -1366,7 +1366,9 @@ function use_macros()
        $0 = fixedsub("%__install", "install", $0);
 
        # split configure line to multiple lines
-       if (/%configure / && !/\\$/) {
+       if (/%configure +$/) {
+               sub( / +$/, "" );
+       } else if (/%configure / && !/\\$/) {
                $0 = format_configure($0);
        }
 
This page took 0.078756 seconds and 4 git commands to generate.