1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

pkg/dockerscript: '.' is not a special character

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
Solomon Hykes 2014-03-21 19:21:53 -07:00
parent f94a18677a
commit 5c14c3ada5

View file

@ -14,7 +14,7 @@ func detectIdent(ch rune) bool {
if unicode.IsDigit(ch) {
return true
}
if strings.ContainsRune("_:/+-@%^", ch) {
if strings.ContainsRune("_:/+-@%^.", ch) {
return true
}
return false