mirror of
https://github.com/restic/restic.git
synced 2025-01-03 05:35:43 +00:00
build.go: Also copy header files
This commit is contained in:
parent
9940b7f853
commit
e6ca604d24
1 changed files with 1 additions and 1 deletions
2
build.go
2
build.go
|
@ -49,7 +49,7 @@ func specialDir(name string) bool {
|
||||||
// excludePath returns true if the file should not be copied to the new GOPATH.
|
// excludePath returns true if the file should not be copied to the new GOPATH.
|
||||||
func excludePath(name string) bool {
|
func excludePath(name string) bool {
|
||||||
ext := path.Ext(name)
|
ext := path.Ext(name)
|
||||||
if ext == ".go" || ext == ".s" {
|
if ext == ".go" || ext == ".s" || ext == ".h" {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue