[123768] trunk/base/src/macports1.0/macports.tcl

Brandon Allbery allbery.b at gmail.com
Thu Aug 14 10:01:25 PDT 2014


On Thu, Aug 14, 2014 at 12:50 PM, Eric Cronin <ecronin at macports.org> wrote:

> The pushd/popd came from the existing svn support, since it makes no sense
> in a system() call I assumed it was intentionally done for the output vs a
> single cd at the start (system -W didn't exist yet back then I think).


Was that perhaps copied from something that was originally cross-platform?
There are some idiosyncrasies when using a Unix-like shell on Windows. (The
current directory is part of a drive, and is *not* per process like it is
on Unixes, so you can need pushd/popd in subprocesses.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140814/9c111dbc/attachment.html>


More information about the macports-dev mailing list