Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid bashism in makefiles for the sake of systems where /bin/sh is t… #2

Merged
merged 1 commit into from
Jul 29, 2020

Conversation

wasosa
Copy link

@wasosa wasosa commented Jun 26, 2020

…he default

Fixes this error during 'make':
source ./.env && terraform apply
/bin/sh: 1: source: not found
Makefile:18: recipe for target 'apply' failed
make: *** [apply] Error 127
The default shell for make (at least on Ubuntu 18.04) is still /bin/sh,
which does not like 'source'; so use '.' instead for sourcing files.

…he default

Fixes this error during 'make':
    source ./.env && terraform apply
    /bin/sh: 1: source: not found
    Makefile:18: recipe for target 'apply' failed
    make: *** [apply] Error 127
The default shell for make (at least on Ubuntu 18.04) is still /bin/sh,
which does not like 'source'; so use '.' instead for sourcing files.
@m110
Copy link
Member

m110 commented Jul 29, 2020

Thank you @wasosa!

@m110 m110 merged commit ebe2ed7 into ThreeDotsLabs:master Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants