@@ -266,19 +266,19 @@ func writeDebianCopyright(dir, gopkg string, vendorDirs []string, hasGodeps bool
266266 if len (vendorDirs ) > 0 || hasGodeps {
267267 fmt .Fprintf (f , "Files-Excluded:\n " )
268268 for _ , dir := range vendorDirs {
269- fmt .Fprintf (f , indent + "%s\n " , dir )
269+ fmt .Fprintf (f , "%s%s \n " , indent , dir )
270270 }
271271 if hasGodeps {
272- fmt .Fprintf (f , indent + "Godeps /_workspace\n " )
272+ fmt .Fprintf (f , "%sGodeps /_workspace\n ", indent )
273273 }
274274 }
275275 fmt .Fprintf (f , "\n " )
276- fmt .Fprintf (f , "Files:" + linebreak + " *\n " )
277- fmt .Fprintf (f , "Copyright:" + linebreak + " %s\n " , copyright )
276+ fmt .Fprintf (f , "Files:%s *\n " , linebreak )
277+ fmt .Fprintf (f , "Copyright:%s %s\n " , linebreak , copyright )
278278 fmt .Fprintf (f , "License: %s\n " , license )
279279 fmt .Fprintf (f , "\n " )
280- fmt .Fprintf (f , "Files:" + linebreak + " debian/*\n " )
281- fmt .Fprintf (f , "Copyright:" + linebreak + " %s %s <%s>\n " , time .Now ().Format ("2006" ), getDebianName (), getDebianEmail ())
280+ fmt .Fprintf (f , "Files:%s debian/*\n " , linebreak )
281+ fmt .Fprintf (f , "Copyright:%s %s %s <%s>\n " , linebreak , time .Now ().Format ("2006" ), getDebianName (), getDebianEmail ())
282282 fmt .Fprintf (f , "License: %s\n " , license )
283283 fmt .Fprintf (f , "Comment: Debian packaging is licensed under the same terms as upstream\n " )
284284 fmt .Fprintf (f , "\n " )
0 commit comments