composer: Fix path check syntax
This commit is contained in:
parent
41ebb00a99
commit
0bb2fcaf21
@ -56,5 +56,5 @@ if hash composer 2>/dev/null; then
|
|||||||
export PATH=$PATH:$(composer global config bin-dir --absolute 2>/dev/null)
|
export PATH=$PATH:$(composer global config bin-dir --absolute 2>/dev/null)
|
||||||
else
|
else
|
||||||
[ -d $HOME/.composer/vendor/bin ] && export PATH=$PATH:$HOME/.composer/vendor/bin
|
[ -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
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user