Typo in dp2mp-move code in dmg preflight

Bryan Blackburn blb at macports.org
Tue Nov 11 19:56:59 PST 2008


On Tue, Nov 11, 2008 at 06:46:00PM -0600, Ryan Schmidt said:
> Do we have a typo here?
>
> http://trac.macports.org/browser/trunk/base/portmgr/dmg/preflight? 
> rev=32397#L47
>
> [ ! -d /opt/local/share/darwinports ] || rm -rf /opt/local/darwinports
>
> Shouldn't that be
>
> [ ! -d /opt/local/share/darwinports ] || rm -rf /opt/local/share/ 
> darwinports

Looks like it to me, though at this stage I hope nobody's still running DP.
If I recall, some paths may have been changed around a bit, but I can't
remember if it was stuff under share or var...

Bryan


>
> It looks like this typo was introduced here:
>
> http://trac.macports.org/changeset/26518
>


More information about the macports-dev mailing list