diff options
author | Frank Lichtenheld <djpig@debian.org> | 2006-01-29 18:08:08 +0000 |
---|---|---|
committer | Frank Lichtenheld <djpig@debian.org> | 2006-01-29 18:08:08 +0000 |
commit | 203c6540a089ff9c44cb3fc87b2c460c856717f0 (patch) | |
tree | 713fa1124e9ed0279ba9b6fcc6b5fbafe62e4413 /scripts | |
parent | 51e2029b79900178bd0e33bb0b026608c657d0ae (diff) | |
download | dpkg-203c6540a089ff9c44cb3fc87b2c460c856717f0.tar.gz |
Fix stupid mistake made by me when applying the patch for diff -p handling
by Anand Kumria
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dpkg-source.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index 068a1997f..8c1cb3ff9 100755 --- a/scripts/dpkg-source.pl +++ b/scripts/dpkg-source.pl @@ -1132,7 +1132,7 @@ sub checkdiff # read hunk header (@@) s/\n$// or &error("diff `$diff' is missing trailing newline"); next if /^\\ No newline/; - /^@@ -\d+(,(\d+))? \+\d+(,(\d+))? @\@ .*$/ or + /^@@ -\d+(,(\d+))? \+\d+(,(\d+))? @\@( .*)?$/ or &error("Expected ^\@\@ in line $. of diff `$diff'"); my ($olines, $nlines) = ($1 ? $2 : 1, $3 ? $4 : 1); ++$hunk; |