From ed8ffc187c472e76b833a4845e83bf6c0df4b2f9 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Sun, 9 May 2021 16:04:31 +0800 Subject: [PATCH] Make sure bash script still works in Windows --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"