Skip to content

Commit

Permalink
fix: avoid removing Open_edX.egg-info/ with git clean (#34380)
Browse files Browse the repository at this point in the history
git clean when used with glob pattern (*/) removes non-translations
files.

using `$ rm` to fix the issue.
  • Loading branch information
OmarIthawi authored Mar 15, 2024
1 parent a10fce3 commit 49c1d7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit 49c1d7c

Please sign in to comment.