File: 09_commandline.dpatch

package info (click to toggle)
request-tracker3.6 3.6.1-4%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 9,028 kB
  • ctags: 1,371
  • sloc: perl: 27,270; sh: 671; makefile: 327
file content (18 lines) | stat: -rw-r--r-- 596 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh /usr/share/dpatch/dpatch-run
## 09_commandline.dpatch by <sjq@wompom>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad trunk~/bin/rt.in trunk/bin/rt.in
--- trunk~/bin/rt.in	2006-08-27 23:44:27.000000000 -0400
+++ trunk/bin/rt.in	2006-08-27 23:44:46.000000000 -0400
@@ -898,6 +898,7 @@
         # a blank line, and arbitrary text.
 
         my ($head, $text) = split /\n\n/, $res->content, 2;
+        $head =~ s/^\s+//;
         my ($status, @headers) = split /\n/, $head;
         $text =~ s/\n*$/\n/ if ($text);