From 49c1d7c9f9b362356ed2b3cd384277b3d26550ee Mon Sep 17 00:00:00 2001 From: Omar Al-Ithawi Date: Fri, 15 Mar 2024 16:31:29 +0300 Subject: [PATCH] fix: avoid removing Open_edX.egg-info/ with `git clean` (#34380) git clean when used with glob pattern (*/) removes non-translations files. using `$ rm` to fix the issue. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 65f4d58f23..972422f687 100644 --- a/Makefile +++ b/Makefile @@ -55,8 +55,8 @@ pull_xblock_translations: ## pull xblock translations via atlas pull_translations: ## pull translations via atlas # Clean up the existing translations - git clean -fdX conf/locale conf/plugins-locale */static/js/i18n/ */static/js/xblock.v1-i18n/ - + git clean -fdX conf/locale + rm -rf conf/plugins-locale cms/static/js/i18n/ lms/static/js/i18n/ cms/static/js/xblock.v1-i18n/ lms/static/js/xblock.v1-i18n/ make pull_xblock_translations make pull_plugin_translations atlas pull $(ATLAS_OPTIONS) \