From 970639b38b3fbf680f09f2cd057810ba8b91ed2d Mon Sep 17 00:00:00 2001 From: cadmic Date: Sat, 21 Dec 2024 13:48:48 -0800 Subject: [PATCH] Fix editing PATH in macOS build instructions (#2379) * Fix editing PATH in macOS build instructions * Need quotes for paths with spaces --- 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 9fe0e1b11b..08752943d5 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)