Skip to content

Removing CWD causes warnings in subsequent commands #514

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy