From 4feb93976f2ab19f29b25f64d84571563e3d1291 Mon Sep 17 00:00:00 2001 From: omikheev Date: Thu, 3 Sep 2026 19:05:10 -0400 Subject: [PATCH] fix: quote exclusion patterns in package/sync-svn (A5 shell-quoting bug shipped 482MB zips) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2c5fd6f..8f5ab04 100644 --- a/Makefile +++ b/Makefile @@ -54,8 +54,8 @@ EXCLUDE_DIRS := node_modules vendor tests dist .github .playwright-browsers pla EXCLUDE_FILES := .phpunit.result.cache phpunit.xml playwright.config.js Dockerfile .dockerignore Makefile README.md EXCLUDE_GLOBS := *.git* composer.* package*.json -ZIP_EXCLUDES := $(foreach entry,$(EXCLUDE_DIRS),\"$(entry)/*\") $(foreach entry,$(EXCLUDE_FILES),\"$(entry)\") $(foreach entry,$(EXCLUDE_GLOBS),\"$(entry)\") -RSYNC_EXCLUDES := $(foreach entry,$(EXCLUDE_DIRS),--exclude=$(entry)/) $(foreach entry,$(EXCLUDE_FILES),--exclude=$(entry)) $(foreach entry,$(EXCLUDE_GLOBS),--exclude=$(entry)) +ZIP_EXCLUDES := $(foreach entry,$(EXCLUDE_DIRS),"$(entry)/*") $(foreach entry,$(EXCLUDE_FILES),"$(entry)") $(foreach entry,$(EXCLUDE_GLOBS),"$(entry)") +RSYNC_EXCLUDES := $(foreach entry,$(EXCLUDE_DIRS),"--exclude=$(entry)/") $(foreach entry,$(EXCLUDE_FILES),"--exclude=$(entry)") $(foreach entry,$(EXCLUDE_GLOBS),"--exclude=$(entry)") package: @echo "Packaging $(PLUGIN_SLUG) version $(VERSION)..."