[darcs-users] darcs patch: slightly hokey approach to solving pwd problem.
dagit at codersbase.com
Mon Oct 13 21:10:38 UTC 2008
A slightly easier solution might be to use ghc:
ghc -e 'Directory.getCurrentDirectory >>= putStrLn'
No extra program needed :)
On Mon, Oct 13, 2008 at 11:44 AM, David Roundy <droundy at darcs.net> wrote:
> Hi all,
> This may be a solution to the trickiness of calling pwd in the tests.
> e.g. bash doesn't call /bin/pwd, and also pwd in bash on cygwin
> doesn't give valid path names. It's a little silly, but I think it
> ought to be pretty darn portable.
> Mon Oct 13 14:42:09 EDT 2008 David Roundy <droundy at darcs.net>
> * slightly hokey approach to solving pwd problem.
> I think this may help the Solaris/BSD test portability issue, and it's
> also (I think) a slightly cleaner alternative to the portable_pwd
> darcs-users mailing list
> darcs-users at darcs.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the darcs-users