forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eirik Bjørsnøs <bjors...@stud.ntnu.no>
Subject Re: [PATCH] Invoking forrest with relative path
Date Fri, 23 Jan 2004 15:32:41 GMT
On Fri, 23 Jan 2004, Eirik Bjørsnøs wrote:

> The attached patch contains the fix. My only concern is if this will work
> also on cygwin, and I'd be happy if someone could test it.

Hello again,

After looking through src/core/bin/forrest a bit closer I found that the
following lines might work better with cygwin: (I've never used cygwin
personally, so someone, please verify :)

if [ "$cygwin" = "true" ] ; then
  FORREST_HOME=$(cd $(eval "dirname $0")/..;cygpath -w $PWD)
else
  FORREST_HOME=$(cd $(eval "dirname $0")/..;echo $PWD)
fi

This updated fix is attached as a patch to this mail. Please disregard the
previous patch.

Eirik.
-- 
Eirik Bjørsnøs
bjorsnos@stud.ntnu.no
Mime
View raw message