Files
asdf-php/bin/exec-env
Rob Loach 29f8080879 Allow running Composer's global binaries (#55)
* Allow running Composer's global binaries

* Fix executable permission

* Tweaks

Co-authored-by: Sora Morimoto <git@bsky.moe>
2020-06-02 04:43:04 +09:00

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