<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Huidae,
<p>I can't keep up with all of your changes to the IPC code/setup.
I will try to test your new changes tonight on cygwin. So far, things
are going very well.
<p>One change that would make README.ipc more cygwin friendly is to remove
the 'which' statement which checks for grass5. For some reason, the
cygwin developers have this in the cygwin faq: "There is no "which"
command with Cygwin. However, you can use the bash shell builtin "type"
which does something similar." (I do have a version of 'which' but
since it isn't part of the standard cygwin distribution, it would be preferable
to do this another way.)
<p>I have used the following lines in my version of README.ipc to test:
<br>
<blockquote>#which gmake5 > /dev/null 2>&1
<br>GRASS_BIN=`grep "^GRASS_BIN" Makefile | awk -F '=' '{print $2}i' |
tr -d ' '`
<br>if [ ! -d $GRASS_BIN -o ! -f $GRASS_BIN/gmake5 ]
<br>then
<br> echo
<br> echo "gmake5 is not in '$GRASS_BIN'."
<br> echo
<br> exit
<br>fi
<br> </blockquote>
This will work fine as long as gmake5 is in the expected place. If
this change is reasonable to you, can you include this in your revisions.
<p>Thanks,
<p>Malcolm</html>