Browse code

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

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)

Solomon Hykes authored on 2014/03/22 11:21:53
Showing 1 changed files
... ...
@@ -14,7 +14,7 @@ func detectIdent(ch rune) bool {
14 14
 	if unicode.IsDigit(ch) {
15 15
 		return true
16 16
 	}
17
-	if strings.ContainsRune("_:/+-@%^", ch) {
17
+	if strings.ContainsRune("_:/+-@%^.", ch) {
18 18
 		return true
19 19
 	}
20 20
 	return false