public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] ebuild problem - die
@ 2001-08-23  3:18 Parag Mehta
  2001-08-23  4:46 ` [gentoo-dev] " Aron Griffis
  0 siblings, 1 reply; 3+ messages in thread
From: Parag Mehta @ 2001-08-23  3:18 UTC (permalink / raw
  To: Aron Griffis; +Cc: gentoo-dev

Hi Aron,

while talking to daniel on irc otday and trying to solve and ebuild error we found out the following :

as per the new portage we have expan_alias on according to daniel. now if some good sysad has aliases rm=rm -i then the ebuild goes for a toss. can this be fixed at the earliest.

temporary solution was to remove that alias from the /etc/profile and everything went on smooth after that.

 
Best Regards,

pm
--
Developer		 <pm@gentoo.org>
Gentoo Linux		http://gentoo.org



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-dev] Re: ebuild problem - die
  2001-08-23  3:18 [gentoo-dev] ebuild problem - die Parag Mehta
@ 2001-08-23  4:46 ` Aron Griffis
  2001-08-23 11:02   ` Daniel Robbins
  0 siblings, 1 reply; 3+ messages in thread
From: Aron Griffis @ 2001-08-23  4:46 UTC (permalink / raw
  To: gentoo-dev

Parag Mehta wrote:	[Thu Aug 23 2001, 05:17:57AM EDT]
> as per the new portage we have expan_alias on according to daniel. now
> if some good sysad has aliases rm=rm -i then the ebuild goes for
> a toss. can this be fixed at the earliest.

This is interesting.  We should probably do "unalias -a" around the same
time we do "shopt -s expand_aliases" in ebuild.sh.

If somebody else wants to make this change, I'd appreciate it.  My
sister is getting married on Saturday, so I'll be pretty busy over the
next couple of days.

Aron



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Re: ebuild problem - die
  2001-08-23  4:46 ` [gentoo-dev] " Aron Griffis
@ 2001-08-23 11:02   ` Daniel Robbins
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Robbins @ 2001-08-23 11:02 UTC (permalink / raw
  To: gentoo-dev

On Thu, Aug 23, 2001 at 06:45:31AM -0400, Aron Griffis wrote:
> Parag Mehta wrote:	[Thu Aug 23 2001, 05:17:57AM EDT]
> > as per the new portage we have expan_alias on according to daniel. now
> > if some good sysad has aliases rm=rm -i then the ebuild goes for
> > a toss. can this be fixed at the earliest.
> 
> This is interesting.  We should probably do "unalias -a" around the same
> time we do "shopt -s expand_aliases" in ebuild.sh.
> 
> If somebody else wants to make this change, I'd appreciate it.  My
> sister is getting married on Saturday, so I'll be pretty busy over the
> next couple of days.

OK, I think we should do the following.  First, we try to use the --noprofile
option so that ebuild.sh does not auto-source /etc/profile.  Will this work:

#!/bin/bash --noprofile

Then, I modify ebuild.sh to source *profile.env* rather than /etc/profile
directly, and use ROOTPATH as PATH.  That should fix it without a messy
unalias.  And then we're also protecting ourselves from further pollution from
/etc/profile.

I think this'll work; do you?

-- 
Daniel Robbins					<drobbins@gentoo.org>
Chief Architect/President			http://www.gentoo.org 
Gentoo Technologies, Inc.			



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-23 17:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-23  3:18 [gentoo-dev] ebuild problem - die Parag Mehta
2001-08-23  4:46 ` [gentoo-dev] " Aron Griffis
2001-08-23 11:02   ` Daniel Robbins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox