On Sep 8, 2008, at 12:20 PM, Nicolas Pouillard wrote: >>>> >>>> +IFS="" >>>> REPO_ABS=`portable_pwd` > > If I well the conventional way is: > REPO_ABS="`portable_pwd`"
I tried that first and it didn't work. The resulting value of REPO_ABS in cygwin bash was: C:\Documents and Settings\etc when it ought to have been C:\Documents and Settings\etc I.e. cygwin bash had split the string on whitespace and then joined it again using newlines. I suspect a UNIX-newlines-vs-DOS-newlines issue here. Cygwin bash has two modes -- one where it tends emit DOS-style newlines and one where it tends to emit UNIX-style newlines. I believe I configured this one in the latter mode when I installed it. However, since adding IFS="" makes it stop doing that, and does no harm on other platforms, and I have a lot of other things I'm supposed to be working on this week, I stopped there. Regards, Zooko _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
