From c1f2964105f75d2123783b1a649d6c0260316785 Mon Sep 17 00:00:00 2001 From: Brian French Date: Wed, 19 Jul 2023 08:38:21 -0700 Subject: [PATCH] Allow executing binaries which are not marked executable via shell proxies (#11557) --- src/Composer/Installer/BinaryInstaller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Installer/BinaryInstaller.php b/src/Composer/Installer/BinaryInstaller.php index ba50fe17f..43254af61 100644 --- a/src/Composer/Installer/BinaryInstaller.php +++ b/src/Composer/Installer/BinaryInstaller.php @@ -401,7 +401,7 @@ if [ -n "\$bashSource" ]; then fi fi -"\${dir}/$binFile" "\$@" +sh "\${dir}/$binFile" "\$@" PROXY; }