My bash scripting is very basic. I've been trying to create some cgi's on
the server that will let me create new fossil repos. I've this test cgi, and
am unable to issue the commands to fossil that I am able to in the
terminal.

#!/bin/sh
# disable filename globbing
set -f
echo "Content-type: text/plain; charset=iso-8859-1"
echo
echo Debugging and learning bash cgi scripting:
echo
cd $HOME/fossils
PATH="/home/fortyfoxes/bin:$PATH"
echo $PATH > test.txt
fossil new test.fossil
echo OK

In this example it is complaining about not being able to find the file
"new":

> <p class="generalError">no such file: new</p>END:
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to