From 070da6430b6b911b10cee1f56d57ecbd8fbc632f Mon Sep 17 00:00:00 2001 From: cadmic Date: Tue, 17 Dec 2024 12:03:49 -0800 Subject: [PATCH 1/2] Fix editing PATH in macOS build instructions --- docs/BUILDING_MACOS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/BUILDING_MACOS.md b/docs/BUILDING_MACOS.md index 9fe0e1b11b2..3c0a9358e95 100644 --- a/docs/BUILDING_MACOS.md +++ b/docs/BUILDING_MACOS.md @@ -65,9 +65,9 @@ make -j sudo make install ``` -Edit your `~/.bash_profile`/`~/.zsh_profile` (or whichever shell you use) to add the new binutils binaries to the system PATH +Edit your `~/.bash_profile`/`~/.zprofile` (or whichever shell you use) to add the new binutils binaries to the system PATH ```bash -echo "export PATH=$PATH:/opt/cross/bin" >> ~/.bash_profile +echo 'export PATH=$PATH:/opt/cross/bin' >> ~/.bash_profile ``` Reload `~/.bash_profile` (or just launch a new terminal tab) From 8688c8d443086da2e404361c2c30a4491bbd926a Mon Sep 17 00:00:00 2001 From: cadmic Date: Tue, 17 Dec 2024 12:14:35 -0800 Subject: [PATCH 2/2] Need quotes for paths with spaces --- docs/BUILDING_MACOS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/BUILDING_MACOS.md b/docs/BUILDING_MACOS.md index 3c0a9358e95..08752943d56 100644 --- a/docs/BUILDING_MACOS.md +++ b/docs/BUILDING_MACOS.md @@ -67,7 +67,7 @@ sudo make install Edit your `~/.bash_profile`/`~/.zprofile` (or whichever shell you use) to add the new binutils binaries to the system PATH ```bash -echo 'export PATH=$PATH:/opt/cross/bin' >> ~/.bash_profile +echo 'export PATH="$PATH:/opt/cross/bin"' >> ~/.bash_profile ``` Reload `~/.bash_profile` (or just launch a new terminal tab)