Skip to content

Change of path when extracting files #2858

@espenfl

Description

@espenfl

Upon execution of extract_files the current working directory changes. That makes sense from inspecting the source code. However, is this what we should expect upon calling such a method? I would suggest to factorize this such that extract_file does precisely that. In my case I only wanted to do this (and then set an environmental path in front of make to the destination path).

Now I either have to store and reset the working directory, or try to comply to the patching regime (but here I am not seeing the granularity that I would want, I would love pointers on this, e.g. how I can from a custom easyblock file select which patches I want to apply given an entry in my build matrix). Maybe, in the end, the patch route is the way to go.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions