diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-03-05 19:45:23 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-03-05 19:45:23 +0000 |
commit | 62705448fcd0b6b9ef793372dce2ceda0c3a3eb2 (patch) | |
tree | c0645b49052489826acc2e38312e93d994ed59f4 /pym/portage_checksum.py | |
parent | 21d84f731674d5b41b8e66b37855acd1007c53d3 (diff) | |
download | portage-62705448fcd0b6b9ef793372dce2ceda0c3a3eb2.tar.gz portage-62705448fcd0b6b9ef793372dce2ceda0c3a3eb2.tar.bz2 portage-62705448fcd0b6b9ef793372dce2ceda0c3a3eb2.zip |
Remove the leading / from PRIVATE_PATH (var/lib/portage) for better cooperation with os.path.join (see bug #124471).
svn path=/main/trunk/; revision=2815
Diffstat (limited to 'pym/portage_checksum.py')
-rw-r--r-- | pym/portage_checksum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_checksum.py b/pym/portage_checksum.py index 2dd447df2..8196628ca 100644 --- a/pym/portage_checksum.py +++ b/pym/portage_checksum.py @@ -120,7 +120,7 @@ def pyhash(filename, hashobject): def perform_checksum(filename, hash_function=md5hash, calc_prelink=0): myfilename = filename[:] - prelink_tmpfile = PRIVATE_PATH+"/prelink-checksum.tmp."+str(os.getpid()) + prelink_tmpfile = os.path.join("/", PRIVATE_PATH, "prelink-checksum.tmp." + str(os.getpid())) mylock = None if calc_prelink and prelink_capable: |