Skip to content

Commit

Permalink
allow pkg/X as prefix for X
Browse files Browse the repository at this point in the history
  • Loading branch information
skelterjohn committed Dec 31, 2011
1 parent f03fd2b commit ff3fd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gb/pkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ func (this *Package) GetTarget() (err error) {
}
return false
}
_ = tryFixPrefix(path.Join("src", "pkg")) || tryFixPrefix("src") || tryFixPrefix("src")
_ = tryFixPrefix(path.Join("src", "pkg")) || tryFixPrefix("pkg") || tryFixPrefix("src")
}
} else {
this.Base = this.Target
Expand Down

0 comments on commit ff3fd8a

Please sign in to comment.