Skip to content

Commit 2d88b73

Browse files
committed
desperately trying again
1 parent 6292022 commit 2d88b73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Credentials/ExternalAccountCredentialsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ public function testExecutableCredentialSourceEnvironmentVars()
612612
// We escape the double quotes and dollar signs that Bash needs to see literally.
613613
// The final command will look like: bash.exe -c "echo $VAR,... '{"..."}' > $FILE ..."
614614
$safeInnerCommand = str_replace('$', '\$', $command);
615-
$command = sprintf('bash -c "%s"', str_replace('"', '\"', $safeInnerCommand));
615+
$command = sprintf('bash -c "%s"', str_replace('"', "\'", $safeInnerCommand));
616616
} else {
617617
// On Unix/Mac, escapeshellarg() works perfectly for single-quoting the whole command.
618618
$command = sprintf('bash -c %s', escapeshellarg($command));

0 commit comments

Comments
 (0)