Last modified: 2013-04-15 21:50:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49261, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47261 - Wrong path to git?
Wrong path to git?
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.21.x
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 38783
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-15 21:34 UTC by DaSch
Modified: 2013-04-15 21:50 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description DaSch 2013-04-15 21:34:30 UTC
following Bug 38783

which git -> /usr/local/bin/git
so all ubuntu users have to change there localsetting to make this work!
Comment 1 T. Gries 2013-04-15 21:42:48 UTC
The path is determined during installation !
Comment 2 DaSch 2013-04-15 21:46:35 UTC
But why is the default setting /usr/bin/git
is there any evidence that this is more common the /usr/local/bin/git
Comment 3 Antoine "hashar" Musso (WMF) 2013-04-15 21:50:09 UTC
How have you installed git ? 

If it is installed by the linux distribution it would usually ends up in /usr/bin/git

When you compile from source (with ./configure ), the default prefix is /usr/local to avoid overlapping with the distribution version.

Having in your bashrc something like:

export PATH="/usr/local/bin:$PATH"

Would load the locally installed binary before looking at the distribution ones.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links