@@ -266,19 +266,19 @@ func writeDebianCopyright(dir, gopkg string, vendorDirs []string, hasGodeps bool
266
266
if len (vendorDirs ) > 0 || hasGodeps {
267
267
fmt .Fprintf (f , "Files-Excluded:\n " )
268
268
for _ , dir := range vendorDirs {
269
- fmt .Fprintf (f , indent + "%s\n " , dir )
269
+ fmt .Fprintf (f , "%s%s \n " , indent , dir )
270
270
}
271
271
if hasGodeps {
272
- fmt .Fprintf (f , indent + "Godeps /_workspace\n " )
272
+ fmt .Fprintf (f , "%sGodeps /_workspace\n ", indent )
273
273
}
274
274
}
275
275
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 )
278
278
fmt .Fprintf (f , "License: %s\n " , license )
279
279
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 ())
282
282
fmt .Fprintf (f , "License: %s\n " , license )
283
283
fmt .Fprintf (f , "Comment: Debian packaging is licensed under the same terms as upstream\n " )
284
284
fmt .Fprintf (f , "\n " )
0 commit comments