Fix the composer check path

This commit is contained in:
Diogo Azevedo 2016-08-31 09:32:21 -03:00 committed by GitHub
commit f542dc3365

View file

@ -18,7 +18,7 @@ FOUND_COMPOSER=0
composerdirs=("$HOME/.composer" "$HOME/.config/composer")
for composerdir in "${composerdirs[@]}" ; do
if [ -d $composerdir/bin -a $FOUND_COMPOSER -eq 0 ] ; then
if [ -d $composerdir/vendor/bin -a $FOUND_COMPOSER -eq 0 ] ; then
FOUND_RBENV=1
# Add Composer's global binaries to PATH