diff --git a/composer.json b/composer.json index ea4e17b9c6d1..72ccb562ecbf 100644 --- a/composer.json +++ b/composer.json @@ -56,7 +56,7 @@ "scripts": { "post-update-cmd": [ "CodeIgniter\\ComposerScripts::postUpdate", - "if [ -f \"admin/setup.sh\" ]; then bash admin/setup.sh; fi" + "bash -c \"if [ -f admin/setup.sh ]; then bash admin/setup.sh; fi\"" ], "analyze": "phpstan analyze", "test": "phpunit"