From 2889816ea779bb2f11e55be06d28436e0d203cee Mon Sep 17 00:00:00 2001 From: Rafael Grigorian <5500199+null93@users.noreply.github.com> Date: Wed, 30 Jul 2025 08:56:26 -0500 Subject: [PATCH] Update shopware.php Fixed edge case where `config/jwt/` folder is empty and shell expansion fails. --- recipe/shopware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/shopware.php b/recipe/shopware.php index ae03c8e4d..0b7e35e5a 100644 --- a/recipe/shopware.php +++ b/recipe/shopware.php @@ -141,7 +141,7 @@ function getPlugins(): array if (!test('[ -d {{deploy_path}}/config/jwt/ ]')) { return; } - run('cd {{release_path}} && chmod -R 660 config/jwt/*'); + run('cd {{release_path}} && find config/jwt/ -type f -exec chmod -R 660 {} +'); }); /**