From 479f10a7f52b181836302652555fa695f4992086 Mon Sep 17 00:00:00 2001 From: Aaron Boodman Date: Sun, 29 Dec 2013 10:20:02 -0800 Subject: [PATCH] Make rxMirrored slightly more strict by escaping the dot in "min.js". Change-Id: Ibe78f464e7e18a35247fb3a3780402906d3cc818 --- make.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.go b/make.go index fa0662afc..756e4f05a 100644 --- a/make.go +++ b/make.go @@ -68,7 +68,7 @@ var ( // Our temporary source tree root and build dir, i.e: buildGoPath + "src/camlistore.org" buildSrcDir string // files mirrored from camRoot to buildSrcDir - rxMirrored = regexp.MustCompile(`^([a-zA-Z0-9\-\_]+\.(?:go|html|min.js|js|css|png|jpg|gif|ico|gpg|json|err|camli|svg))$`) + rxMirrored = regexp.MustCompile(`^([a-zA-Z0-9\-\_]+\.(?:go|html|min\.js|js|css|png|jpg|gif|ico|gpg|json|err|camli|svg))$`) ) func main() {