Fix brace matching on multiline constructs in perl.req (RhBug:752119)
authorJoshua Megerman <josh@honorablemenschen.com>
Wed, 14 Dec 2011 15:03:29 +0000 (17:03 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 14 Dec 2011 15:19:12 +0000 (17:19 +0200)
commitd936230973b91a16b5c2c5c7e4665a98bdde4332
treec6fca373a683bc0c31c11591f6e51dfb48ddf251
parent139105056d2a40e5e9c9b7dd44981c8d9da5e343
Fix brace matching on multiline constructs in perl.req (RhBug:752119)

- /usr/lib/rpm/perl.req scans for the opening brace type on lines, but
  then only scans for closing curly braces ('}') instead of the proper
  losing brace type when that closing brace occures on a different line.
  This means that any use/require statements that occur after the
  multi-line q{} statement but before the first closing curly brace in
  the file will be ignored.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
scripts/perl.req