Skip to content

Removing CWD causes warnings in subsequent commands #514

Closed
@aureq

Description

@aureq

Hi,

When removing /usr/src/python the current working directory is also the directory being removed. This causes subsequent commands to complain about not being able to locate the current working directory.

&& make install \
&& rm -rf /usr/src/python \

As a potential fix, changing the current working directory to / would prevent these warnings :

&& make install \
&& cd / \
&& rm -rf /usr/src/python \

I guess this is mostly a cosmetic change but I'm not sure if the warnings could cause problems with the commands after.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions