Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Document script working directory and environment variables #47

Open
Open
Document script working directory and environment variables#47

Description

In certain pre/post scripts, it is useful to be able to refer back to files in the directory that houses that script itself (e.g., static assets, configuration files, etc.). It would be great if the working directory at the time when image-bootstrap is invoked was somehow made accessible to scripts (perhaps through an ORIGINAL_WD environment variable? An alternative would be to just chdir back to the original working directory before invoking the scripts; I don't know which is better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions