<div dir="ltr">A slightly easier solution might be to use ghc:<br>ghc -e &#39;Directory.getCurrentDirectory &gt;&gt;= putStrLn&#39;<br><br>No extra program needed :)<br><br>Jason<br><br><div class="gmail_quote">On Mon, Oct 13, 2008 at 11:44 AM, David Roundy <span dir="ltr">&lt;<a href="mailto:droundy@darcs.net">droundy@darcs.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br>
<br>
This may be a solution to the trickiness of calling pwd in the tests.<br>
e.g. bash doesn&#39;t call /bin/pwd, and also pwd in bash on cygwin<br>
doesn&#39;t give valid path names. &nbsp;It&#39;s a little silly, but I think it<br>
ought to be pretty darn portable.<br>
<br>
David<br>
<br>
Mon Oct 13 14:42:09 EDT 2008 &nbsp;David Roundy &lt;<a href="mailto:droundy@darcs.net">droundy@darcs.net</a>&gt;<br>
 &nbsp;* slightly hokey approach to solving pwd problem.<br>
 &nbsp;I think this may help the Solaris/BSD test portability issue, and it&#39;s<br>
 &nbsp;also (I think) a slightly cleaner alternative to the portable_pwd<br>
 &nbsp;hack.<br>
<br>
<br>_______________________________________________<br>
darcs-users mailing list<br>
<a href="mailto:darcs-users@darcs.net">darcs-users@darcs.net</a><br>
<a href="http://lists.osuosl.org/mailman/listinfo/darcs-users" target="_blank">http://lists.osuosl.org/mailman/listinfo/darcs-users</a><br>
<br></blockquote></div><br></div>