Add php 7.4 to env
This commit is contained in:
parent
c4dc8aa902
commit
ffe4446da4
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ export EDITOR="vim"
|
|||
|
||||
if [ $(uname -s) = "Darwin" ]; then
|
||||
export MAKEOPTS="-j$(sysctl -n hw.ncpu)"
|
||||
export PATH="/usr/local/opt/php@7.4/bin:$PATH"
|
||||
else
|
||||
export MAKEOPTS="-j$(cat /proc/cpuinfo | awk -F: '$1 ~ /cpu cores/ { print $2 }' | head -n 1 | tr -d ' ')"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue