On Thu, Jun 14, 2012 at 3:31 PM, John Found <johnfo...@evrocom.net> wrote:

> But I guessed to redirect STDERR to STDOUT and got "fossil: not within an
> open checkout".
> But PWD returns the proper directory where is the checkout, so the problem
> is with bash.
> How to set fossil to run in the current working directory of bash? And
> where actually it runs now???


To get to the dir containing the CGI script:

cd $(dirname $0)


But i think i see the problem now: the fossil binary is not meant (AFAIK)
to be used _directly_ as a CGI binary, and that is in effect what you are
doing. It is meant to be fed "the two-line config file" stub which is
itself the CGI script. i have never tried to use it the way you're trying
to now.

Another option to force the repo path: pass -R /path/to/repo.fossil

but note that "fossil -R ..." without any command won't don't anything
useful.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to