After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673214 - JHBuild Manual has incorrect instructions
JHBuild Manual has incorrect instructions
Status: RESOLVED DUPLICATE of bug 704768
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on: 669754
Blocks:
 
 
Reported: 2012-03-31 00:00 UTC by Tiffany Antopolski
Modified: 2016-01-27 15:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
JHBuild Manual Update (1.58 KB, patch)
2012-03-31 00:00 UTC, Tiffany Antopolski
none Details | Review

Description Tiffany Antopolski 2012-03-31 00:00:55 UTC
Created attachment 211005 [details] [review]
JHBuild Manual Update

The JHBuild Manual has the following lines:

To permanently add ~/.local/bin to the PATH variable, run the following command:

$ echo PATH=$PATH:~/.local/bin >> ~/.bashrc

Running this command makes it impossible to run a program from the jhbuild shell, because the PATH that gets set in the .bashrc file is overriding the path that gets set by jhbuild.

instead, 

mkdir bin
cd bin
ln -s ../.local/bin/jhbuild 

Then, logging out and logging back in fixes the problem.

However, bug #669754 fixes the problem completely as it installs the jhbuild script in ~/bin.

I am attaching a patch against the JHBuild Manual to match the changes in bug #669754.
Comment 1 Marcin Wojdyr 2012-07-11 23:15:44 UTC
in the line
echo PATH=$PATH:~/.local/bin >> ~/.bashrc
$PATH should be escaped/quoted.
I think that's what caused problem for the reporter.

doc/C/index.docbook:141
Comment 2 Frederic Peters 2016-01-27 15:37:05 UTC

*** This bug has been marked as a duplicate of bug 704768 ***