1 |
>>>>> On Thu, 09 Mar 2017, William L Thomson wrote: |
2 |
|
3 |
> Along the lines of failures. What if a system has rm aliased to |
4 |
> prompt before removal? In that case rm -r would fail, but rm -fr |
5 |
> would not. That would cause failures for the user and not the |
6 |
> developer. Assuming rm does not disable prompt for a non-interactive |
7 |
> shell. |
8 |
|
9 |
The very first thing ebuild.sh does is this: |
10 |
|
11 |
# Prevent aliases from causing portage to act inappropriately. |
12 |
# Make sure it's before everything so we don't mess aliases that follow. |
13 |
unalias -a |
14 |
|
15 |
Now of course a user could have aliased both rm and unalias ... :) |
16 |
|
17 |
Ulrich |