Update README.md

This commit is contained in:
coolsnowwolf 2022-03-28 20:39:24 +08:00 committed by GitHub
parent f575f2151f
commit 622042153e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,6 +98,7 @@ echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> ~/.bashrc
echo 'export PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"' >> ~/.bashrc
echo 'export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"' >> ~/.bashrc
echo 'export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"' >> ~/.bashrc
echo 'export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"' >> ~/.bashrc
```
4.重新加载一下 shell 启动文件
@ -105,7 +106,7 @@ echo 'export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"' >> ~/.bashrc
source ~/.bashrc
```
然后就可以和 Linux 一样正常编译了
然后输入 bash 命令进入bash shell就可以和 Linux 一样正常编译了
------