summaryrefslogtreecommitdiffstats
path: root/pym/portage_locks.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-03-27 20:32:16 +0000
committerZac Medico <zmedico@gentoo.org>2007-03-27 20:32:16 +0000
commitff0dfb0b1072c1d0e14fdcbf58581941baea7bb6 (patch)
treeabcaa33c147bea950d647d2d1c313de87347dd44 /pym/portage_locks.py
parent35b00d12cad143b894d7a74436272991e7eade11 (diff)
downloadportage-ff0dfb0b1072c1d0e14fdcbf58581941baea7bb6.tar.gz
portage-ff0dfb0b1072c1d0e14fdcbf58581941baea7bb6.tar.bz2
portage-ff0dfb0b1072c1d0e14fdcbf58581941baea7bb6.zip
For bug #170178, remove all hardcoded references to '/usr/lib/portage'. (trunk r6202:6203)
svn path=/main/branches/2.1.2/; revision=6293
Diffstat (limited to 'pym/portage_locks.py')
-rw-r--r--pym/portage_locks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage_locks.py b/pym/portage_locks.py
index 389adddde..8358b3063 100644
--- a/pym/portage_locks.py
+++ b/pym/portage_locks.py
@@ -235,10 +235,11 @@ def hardlink_lockfile(lockfilename, max_wait=14400):
portage_util.writemsg(".")
else:
reported_waiting = True
+ from portage_const import PORTAGE_BIN_PATH
print
print "Waiting on (hardlink) lockfile: (one '.' per 3 seconds)"
print "This is a feature to prevent distfiles corruption."
- print "/usr/lib/portage/bin/clean_locks can fix stuck locks."
+ print "%s/clean_locks can fix stuck locks." % PORTAGE_BIN_PATH
print "Lockfile: " + lockfilename
time.sleep(3)