Comments (7)
can you paste the output of 'whereis git' please?
from sparkleshare.
randall:~ admin$ whereis git
/usr/bin/git
run on Mac OS X 10.6.6
git was installed with homebrew package manager: https://github.com/mxcl/homebrew
When I set a symbolic link it works:
sudo ln -s /usr/local/bin/git /usr/bin/git
from sparkleshare.
randall:~ admin$ which git
/usr/local/bin/git
from sparkleshare.
we now use 'whereis git' as the path to git.
ad2c873
from sparkleshare.
why not just invoke git
without explicit path?
that will rely on $PATH
which is the same as what tools such as which
and whereis
use anyway.
it would however be interesting if, on startup, you first check whether a call like git --version
successfully finishes (return code 0) if not, show a warning dialog "Could not find git" and shut down.
from sparkleshare.
@Dieterbe: because on the Mac, git isn't in $PATH.
"it would however be interesting if, on startup, you first check whether a call like git --version successfully finishes (return code 0) if not, show a warning dialog "Could not find git" and shut down."
This is done with 'whereis git' too.
from sparkleshare.
This is done with 'whereis git' too.
true, that would also work.
but:if on your system you have binaries that you want to run, then you should add their dirname to $PATH. (that's what $PATH is for), it's not up to the app to workaround an incorrectly configured $PATH
from sparkleshare.
Related Issues (20)
- Docker Containerised version available?
- Encoding problems on macOS HOT 2
- IS THIS SOME KIND OF A MALWARE ???
- "Recent Changes" window keeps stealing focus HOT 1
- Ubuntu Server HOT 1
- How do I generating a QR code or Link Code on MacOS?
- macOS release for version 3.38
- All versions above 1.5 will add Remote but not sync HOT 1
- Windows msysgit is out of date HOT 1
- I can't sync a new project
- "Could not fetch host key", but it works. HOT 2
- Self compiled sparkleshare crashes on start
- Changing path in projects.xml does not work on linux HOT 1
- git-lfs crashing on MacOS Ventura HOT 6
- Multiple git.exe instances
- Apple silicon (m1/m2) build?
- Fingerprint check failing for github HOT 4
- SparkleShare does not work anymore with bitbucket HOT 3
- Cannot continue setup, because of my email address
- deployment without root access
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sparkleshare.