patch for tarman handling of multi-line descriptions
[debian/tar] / debian / tarman
index 3ef257dc5a915c657d2eb739e8a88e6c50eebc5b..70169311191018dfb5dc1ea131b86b509a2798ea 100644 (file)
@@ -94,6 +94,15 @@ while (<>) {
                                        $$lastoperation{'description'} .= $c3[1];
                                }
                        }
+                       if (!$nflag && !/\}/) {
+                               while (<>) {
+                                       my @extended_desc = split('"', $_);
+                                       $$lastoperation{'description'} .= $extended_desc[1];
+                                       if (/\}/) {
+                                               last;
+                                       }
+                               }
+                       }
                }
        }
        if ($mode == 3 ) {