On Sun, Sep 19, 2010 at 18:38, Chris Sepic <[email protected]> wrote:
> Stashes:
> /usr/local/Cellar/git/1.7.1/libexec/git-core/git-stash: line 4:
> basename: command not found
> /usr/local/Cellar/git/1.7.1/libexec/git-core/git-stash: line 4: sed:
> command not found
> /usr/local/Cellar/git/1.7.1/libexec/git-core/git-sh-setup: line 71:
> basename: command not found
> /usr/local/Cellar/git/1.7.1/libexec/git-core/git-sh-setup: line 71:
> sed: command not found
> /usr/local/Cellar/git/1.7.1/libexec/git-core/git-sh-setup: line 202:
> uname: command not found
> /usr/local/Cellar/git/1.7.1/libexec/git-core/git-stash: line 445: rm:
> command not found
>
> When I try to pull, I get this error:
>
> $ git --no-pager pull -v
> /usr/local/Cellar/git/1.7.1/libexec/git-core/git-sh-setup: line 71:
> basename: command not found
> /usr/local/Cellar/git/1.7.1/libexec/git-core/git-sh-setup: line 71:
> sed: command not found
> /usr/local/Cellar/git/1.7.1/libexec/git-core/git-sh-setup: line 202:
> uname: command not found
> error: cannot run ssh: No such file or directory
> fatal: unable to fork
> Git exited abnormally with code 1.
>
> Anyone know what might be wrong with my setup? I have git installed
> with homebrew. Running 'git pull' as a shell command in emacs works
> fine.

basename, sed etc. aren't in the PATH that Emacs is using.

if you open a M-x shell can you use sed there? What does (getenv "PATH") return?

Reply via email to