>>>>> On Thu, 09 Mar 2017, William L Thomson wrote:

> Along the lines of failures. What if a system has rm aliased to
> prompt before removal? In that case rm -r would fail, but rm -fr
> would not. That would cause failures for the user and not the
> developer. Assuming rm does not disable prompt for a non-interactive
> shell.

The very first thing ebuild.sh does is this:

   # Prevent aliases from causing portage to act inappropriately.
   # Make sure it's before everything so we don't mess aliases that follow.
   unalias -a

Now of course a user could have aliased both rm and unalias ... :)

Ulrich

Attachment: pgp2grCyJGszi.pgp
Description: PGP signature

Reply via email to