From 7c5461984be838833d9f41a4a0e08e8f90871a04 Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Mon, 6 Feb 2006 07:34:30 +0000 Subject: [PATCH] use sys.argv[0] for the path to emerge rather then hard coding svn path=/main/trunk/; revision=2673 --- bin/emerge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/emerge b/bin/emerge index 1a47d70ce..e9aa65dd5 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2120,7 +2120,7 @@ class depgraph: emergelog(" *** RESTARTING emerge via exec() after change of portage version.") del portage.mtimedb["resume"]["mergelist"][0] portage.portageexit() - mynewargv=["/usr/lib/portage/bin/emerge","--resume"] + mynewargv=[sys.argv[0],"--resume"] badlongopts = ("--ask","--tree","--changelog","--skipfirst","--resume") for arg in myopts: if arg in badlongopts: -- 2.26.2