Changeset 3475 for trunk


Ignore:
Timestamp:
Jun 17, 2007, 6:04:56 AM (18 years ago)
Author:
bird
Message:

another /@unixroot hack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/sys-apps/portage/pym/portage.py

    r3453 r3475  
    75857585                        # myrealdest is mydest without the $ROOT prefix (makes a difference if ROOT!="/")
    75867586                        myrealdest = join(sep, offset, x)
     7587
     7588                        # bird: This is a ugly hack to avoid double $ROOT prefix when *DESTDIR is used
     7589                        #       for installation. XXX: find a proper solution to all this.
     7590                        if sys.platform == "os2knix" and mydest.startswith("/@unixroot/@unixroot"):
     7591                                mydest = mydest[10:]
     7592                                myrealdest = myrealdest[10:]
     7593
    75877594                        # stat file once, test using S_* macros many times (faster that way)
    75887595                        try:
Note: See TracChangeset for help on using the changeset viewer.