Changeset 3505


Ignore:
Timestamp:
Jun 19, 2007, 4:42:49 AM (18 years ago)
Author:
bird
Message:

Another UNC prevention hack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/sys-apps/prefix-portage/bin/ebuild.sh

    r3494 r3505  
    119119}
    120120
     121# bird: PORTAGE_CONFIGROOT is used in the base profile.bashrc without EPREFIX
     122#       and ends up producing stuff like //etc/portage/ that seriously screws us
     123#       on OS/2 since it's interpreted as an UNC path.
     124saved_PORTAGE_CONFIGROOT=$PORTAGE_CONFIGROOT
     125PORTAGE_CONFIGROOT=${PORTAGE_CONFIGROOT}${EPREFIX}/
     126
    121127# source the existing profile.bashrc's.
    122128save_IFS
     
    145151        fi
    146152fi
     153
     154# bird: see comment 20-30 lines ago.
     155PORTAGE_CONFIGROOT=$saved_PORTAGE_CONFIGROOT
    147156
    148157[ ! -z "$OCC" ] && export CC="$OCC"
Note: See TracChangeset for help on using the changeset viewer.