diff options
author | Mario <mario@mariovavti.com> | 2022-10-12 08:42:41 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-10-12 08:42:41 +0000 |
commit | c36bb17475b3dd5925cefc32752f1fb8a63df154 (patch) | |
tree | 2f1fce354be40e759c493e02c259d9d3120b4e5f /vendor/bin | |
parent | 2291fcdf11fe3e03cc84ca8171cd7dcf03015e17 (diff) | |
download | volse-hubzilla-c36bb17475b3dd5925cefc32752f1fb8a63df154.tar.gz volse-hubzilla-c36bb17475b3dd5925cefc32752f1fb8a63df154.tar.bz2 volse-hubzilla-c36bb17475b3dd5925cefc32752f1fb8a63df154.zip |
composer update sabre
Diffstat (limited to 'vendor/bin')
-rwxr-xr-x | vendor/bin/generate_vcards | 5 | ||||
-rwxr-xr-x | vendor/bin/naturalselection | 2 | ||||
-rwxr-xr-x | vendor/bin/sabredav | 2 | ||||
-rwxr-xr-x | vendor/bin/vobject | 5 |
4 files changed, 10 insertions, 4 deletions
diff --git a/vendor/bin/generate_vcards b/vendor/bin/generate_vcards index a6bdfa274..b484cc11e 100755 --- a/vendor/bin/generate_vcards +++ b/vendor/bin/generate_vcards @@ -108,7 +108,10 @@ if (PHP_VERSION_ID < 80000) { } } - if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) { + if ( + (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true)) + || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) + ) { include("phpvfscomposer://" . __DIR__ . '/..'.'/sabre/vobject/bin/generate_vcards'); exit(0); } diff --git a/vendor/bin/naturalselection b/vendor/bin/naturalselection index 586050de8..d13c00bb3 100755 --- a/vendor/bin/naturalselection +++ b/vendor/bin/naturalselection @@ -23,7 +23,7 @@ if [ -d /proc/cygdrive ]; then esac fi -export COMPOSER_BIN_DIR=$(cd "${self%[/\\]*}" > /dev/null; pwd) +export COMPOSER_RUNTIME_BIN_DIR="$(cd "${self%[/\\]*}" > /dev/null; pwd)" # If bash is sourcing this file, we have to source the target as well bashSource="$BASH_SOURCE" diff --git a/vendor/bin/sabredav b/vendor/bin/sabredav index 73bfa6039..6e915f637 100755 --- a/vendor/bin/sabredav +++ b/vendor/bin/sabredav @@ -23,7 +23,7 @@ if [ -d /proc/cygdrive ]; then esac fi -export COMPOSER_BIN_DIR=$(cd "${self%[/\\]*}" > /dev/null; pwd) +export COMPOSER_RUNTIME_BIN_DIR="$(cd "${self%[/\\]*}" > /dev/null; pwd)" # If bash is sourcing this file, we have to source the target as well bashSource="$BASH_SOURCE" diff --git a/vendor/bin/vobject b/vendor/bin/vobject index 0097f5a5c..0a78d4965 100755 --- a/vendor/bin/vobject +++ b/vendor/bin/vobject @@ -108,7 +108,10 @@ if (PHP_VERSION_ID < 80000) { } } - if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) { + if ( + (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true)) + || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) + ) { include("phpvfscomposer://" . __DIR__ . '/..'.'/sabre/vobject/bin/vobject'); exit(0); } |