Skip to content

Commit

Permalink
Suppress errors if realpath fails or is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Dec 30, 2021
1 parent 390260c commit 2cd16b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Composer/Installer/BinaryInstaller.php
Expand Up @@ -392,7 +392,7 @@ public function url_stat(\$path, \$flags)
return <<<PROXY
#!/usr/bin/env sh
self=\$(realpath \$0)
self=\$(realpath \$0 >/dev/null 2>&1)
if [ -z "\$self" ]
then
self="\$0"
Expand Down

0 comments on commit 2cd16b4

Please sign in to comment.