Skip to content

Commit

Permalink
Fix editing PATH in macOS build instructions (#2379)
Browse files Browse the repository at this point in the history
* Fix editing PATH in macOS build instructions

* Need quotes for paths with spaces
  • Loading branch information
cadmic authored Dec 21, 2024
1 parent ee4b347 commit 970639b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/BUILDING_MACOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 970639b

Please sign in to comment.