summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2006-02-06 07:34:30 +0000
committerBrian Harring <ferringb@gentoo.org>2006-02-06 07:34:30 +0000
commit7c5461984be838833d9f41a4a0e08e8f90871a04 (patch)
tree2244365a21c5034b16e77fc8599dedf21b0631f0
parent27f1473dcf53c30d20d2380f3c4ac28ee183e7ae (diff)
downloadportage-7c5461984be838833d9f41a4a0e08e8f90871a04.tar.gz
portage-7c5461984be838833d9f41a4a0e08e8f90871a04.tar.bz2
portage-7c5461984be838833d9f41a4a0e08e8f90871a04.zip
use sys.argv[0] for the path to emerge rather then hard coding
svn path=/main/trunk/; revision=2673
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
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: