From: Brian Harring Date: Mon, 6 Feb 2006 07:34:30 +0000 (-0000) Subject: use sys.argv[0] for the path to emerge rather then hard coding X-Git-Tag: v2.1_pre5_2760~75 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7c5461984be838833d9f41a4a0e08e8f90871a04;p=portage.git use sys.argv[0] for the path to emerge rather then hard coding svn path=/main/trunk/; revision=2673 --- 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: