got the build working correctly

This commit is contained in:
Brad Rydzewski
2014-06-12 12:44:19 -07:00
parent 7abe695a5c
commit aec9b33048
7 changed files with 39 additions and 15 deletions

View File

@@ -167,7 +167,7 @@ func (b *Builder) setup() error {
src := filepath.Join(dir, "src")
cmd := exec.Command("cp", "-a", b.Repo.Path, src)
if err := cmd.Run(); err != nil {
return err
return fmt.Errorf("Error: Unable to copy repository. %s", err)
}
}