Skip to content

Commit 84f1296

Browse files
committed
fixup! Manage composer via mise
1 parent a7b04ca commit 84f1296

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

dev-bin/release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ phpize
103103
make
104104
popd
105105

106-
php -n -dextension=ext/modules/maxminddb.so "$(command -v composer.phar)" update
106+
# Resolve the real phar path, as command -v may return a mise shim, which
107+
# php cannot execute directly.
108+
php -n -dextension=ext/modules/maxminddb.so "$(mise which composer.phar)" update
107109

108110
php -n -dextension=ext/modules/maxminddb.so ./vendor/bin/phpunit
109111
php -n ./vendor/bin/phpunit

0 commit comments

Comments
 (0)