composer: Fix path check syntax

This commit is contained in:
Rob Loach 2018-04-18 11:30:48 -04:00
parent 41ebb00a99
commit 0bb2fcaf21
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A

View File

@ -56,5 +56,5 @@ if hash composer 2>/dev/null; then
export PATH=$PATH:$(composer global config bin-dir --absolute 2>/dev/null)
else
[ -d $HOME/.composer/vendor/bin ] && export PATH=$PATH:$HOME/.composer/vendor/bin
[ -d $HOME/.config/composer/vendor/bin] && export PATH=$PATH:$HOME/.config/composer/vendor/bin
[ -d $HOME/.config/composer/vendor/bin ] && export PATH=$PATH:$HOME/.config/composer/vendor/bin
fi