From ff0dfb0b1072c1d0e14fdcbf58581941baea7bb6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 27 Mar 2007 20:32:16 +0000 Subject: For bug #170178, remove all hardcoded references to '/usr/lib/portage'. (trunk r6202:6203) svn path=/main/branches/2.1.2/; revision=6293 --- 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 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) -- cgit v1.2.3-1-g7c22