From 1e38dbd720542bb01a4c4cf631b4493245930b1b Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati Date: Thu, 4 Jul 2024 14:17:24 +0530 Subject: [PATCH] make: Ignore .mypy_cache folders while copying files This fixes the problem of running over the limit of ARG_MAX of /bin/sh in the dev container when copying the files of plinth modules. Signed-off-by: Joseph Nuthalapati Reviewed-by: Sunil Mohan Adapa --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a6a5dc637..db4d93deb 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,8 @@ FIND_ARGS := \ -not -iname ".*" \ -not -iname "sessionid*" \ -not -iname "~*" \ - -not -iname "django-secret.key" + -not -iname "django-secret.key" \ + -not -iwholename "*/.mypy_cache/*" ROOT_DATA_FILES := $(shell find data -type f $(FIND_ARGS))