Skip to content

Commit 7c66ff4

Browse files
authored
Update shopware.php (#4101)
Fixed edge case where `config/jwt/` folder is empty and shell expansion fails.
1 parent 47a1644 commit 7c66ff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipe/shopware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function getPlugins(): array
141141
if (!test('[ -d {{deploy_path}}/config/jwt/ ]')) {
142142
return;
143143
}
144-
run('cd {{release_path}} && chmod -R 660 config/jwt/*');
144+
run('cd {{release_path}} && find config/jwt/ -type f -exec chmod -R 660 {} +');
145145
});
146146

147147
/**

0 commit comments

Comments
 (0)