Permalink
Browse files

Update copy

  • Loading branch information...
zachhuff386 committed Jul 29, 2015
1 parent 5a5bf1f commit 4a1baa50fcdf0494c3c5a03467d6c478de29334c
Showing with 6 additions and 5 deletions.
  1. +3 −2 debian/debian.go
  2. +1 −1 parse/parse.go
  3. +1 −1 redhat/redhat.go
  4. +1 −1 source/source.go
View
@@ -91,7 +91,8 @@ func (d *Debian) createConfFiles() (err error) {
if err != nil {
err = &WriteError{
errors.Wrapf(err,
"debian: Failed to write debian conffiles at '%s'", path),
"debian: Failed to write debian conffiles at '%s'",
path),
}
return
}
@@ -244,7 +245,7 @@ func (d *Debian) dpkgDeb() (err error) {
os.Remove(newPath)
err = utils.CopyFile(path, newPath)
err = utils.CopyFile("", path, newPath, false)
if err != nil {
return
}
View
@@ -35,7 +35,7 @@ func File(home string) (pac *pack.Pack, err error) {
return
}
err = utils.CopyFiles(home, root)
err = utils.CopyFiles(home, root, false)
if err != nil {
return
}
View
@@ -367,7 +367,7 @@ func (r *Redhat) Build() (err error) {
for _, arch := range archs {
err = utils.CopyFiles(filepath.Join(r.rpmsDir, arch.Name()),
r.Pack.Home)
r.Pack.Home, false)
if err != nil {
return
}
View
@@ -57,7 +57,7 @@ func (s *Source) getUrl() (err error) {
}
func (s *Source) getPath() (err error) {
err = utils.Copy(s.Root, s.Source, s.Path)
err = utils.Copy(s.Root, s.Source, s.Path, true)
if err != nil {
return
}

0 comments on commit 4a1baa5

Please sign in to comment.