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 bccd390ead
commit 69f4043d3a

View file

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