mirror of
https://github.com/jlengrand/asdf-php.git
synced 2026-03-10 08:01:22 +00:00
* Allow running Composer's global binaries * Fix executable permission * Tweaks Co-authored-by: Sora Morimoto <git@bsky.moe>
9 lines
216 B
Bash
Executable File
9 lines
216 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Set Composer's home directory if it's not set.
|
|
if [ "$ASDF_INSTALL_VERSION" != "system" ]; then
|
|
if [ -z "$COMPOSER_HOME" ]; then
|
|
export COMPOSER_HOME=$ASDF_INSTALL_PATH/.composer
|
|
fi
|
|
fi
|