Skip to content

"functions" script doesn't load environment #5

@finex

Description

@finex

Hi, I'm testing drupal-docker on a clean Ubuntu 16.10 installation but the function script isn't able to create the environment file for docker because the env -i command needs the correct path.
The error is:

env: "environment": File or directory not found

More precisely the following line:
env -i environment | grep /v "_=" | sort > .docker.env

should be changed into:
env -i ./environment | grep /v "_=" | sort > .docker.env

I've added the ./ to specify the environment file path.

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