GNOME Bugzilla – Bug 704768
bad hints in documentation will hardcode $PATH in .bashrc
Last modified: 2016-01-27 15:37:05 UTC
The documentation advises the user to type this during their setup of jhbuild: $ echo PATH=$PATH:~/.local/bin >> ~/.bashrc This is quite bad. The user's $PATH will be taken at the time they type this (outside of jhbuild) and hardcoded into their .bashrc. When running 'jhbuild shell', jhbuild will set the path properly, then the bashrc will run and erase the path again, replacing it with the previously-hardcoded value. We should _not_ be advising people to modify their bashrc, but rather we should install into a path that's already universally in people's path: ~/bin.
*** Bug 708008 has been marked as a duplicate of this bug. ***
This fixes the documentation part. commit 9046bdbc6b19567fbdda0fa8648dae06eeace2aa Author: Frédéric Péters <fpeters@0d.be> Date: Sat Nov 23 18:36:59 2013 +0100 add missing quote in PATH adjustement documentation (GNOME bug 704768)
Created attachment 271305 [details] [review] doc: Add missing quote to PATH adjustment Fixing the same issue as commit 9046bdbc6b in another place in the documentation as well.
Attachment 271305 [details] pushed as 8ec6232 - doc: Add missing quote to PATH adjustment
*** Bug 673214 has been marked as a duplicate of this bug. ***