Andrej Kacian wrote:
On Sat, 3 Jan 2004 22:29:27 -0500

When I issue `su` command and try to compute a digest for an ebuild, it works.
However, when I issue `su -` and then I try to compute the digest, I get
following error:

# ebuild eremove-1.4.ebuild digest
Traceback (most recent call last):
  File "/usr/bin/ebuild", line 34, in ?
    a=portage.doebuild(pargs[0],x,getroot(),debug=debug)
TypeError: doebuild() takes at least 4 non-keyword arguments (3 given)

I assume there is something about getroot() function, but I don't know what.

Is there any way to fix this? If so, how?


On unices almost for everything is some solution :-). 1. rtfm about su, to be familiar with dash flag 2. now u know where the difference is ... not ? right, environment ! 3. start "su" and run set > su.env.log 4. exit 5. start "su -" and run set > su-.env.log 6. exit 7. diff su*log 8. one of differences gives u the answer, to find it shouldn't be so difficult

noro


-- [EMAIL PROTECTED] mailing list



Reply via email to