[darcs-users] darcs patch: slightly hokey approach to solving pwd problem.

Jason Dagit 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.
> David
> 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
>  hack.
> _______________________________________________
> darcs-users mailing list
> darcs-users at darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osuosl.org/pipermail/darcs-users/attachments/20081013/aa380f60/attachment.htm 

More information about the darcs-users mailing list