From 4722f5ae2ecbd194ecc34c6365f64b2d6614295a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 10 Mar 2007 00:08:13 +0000 Subject: For bug #170178, remove all hardcoded references to '/usr/lib/portage'. svn path=/main/trunk/; revision=6203 --- pym/portage/locks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym/portage/locks.py') diff --git a/pym/portage/locks.py b/pym/portage/locks.py index 167109432..2575a978b 100644 --- a/pym/portage/locks.py +++ b/pym/portage/locks.py @@ -231,10 +231,11 @@ def hardlink_lockfile(lockfilename, max_wait=14400): 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) -- cgit v1.2.3-1-g7c22