From d515c8eb95b39065f74ea6d0b368d8ca3705fd4a Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Mon, 1 Feb 2021 14:32:56 -0500 Subject: [PATCH] 16306: Exclude {rails}/config/environments from package. In developer work trees, that directory is likely to have extra files (already skipped by .gitignore) that will break the application if included in the package. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- lib/install/deps.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/install/deps.go b/lib/install/deps.go index bb9949de7c..8a182bcb93 100644 --- a/lib/install/deps.go +++ b/lib/install/deps.go @@ -449,6 +449,7 @@ rm ${zip} "--exclude", "/log", "--exclude", "/tmp", "--exclude", "/vendor", + "--exclude", "/config/environments", "./", "/var/lib/arvados/"+dstdir+"/") cmd.Dir = filepath.Join(inst.SourcePath, srcdir) cmd.Stdout = stdout -- 2.30.2