8000 Fix banner skip detection by kdambekalns · Pull Request #18 · flownative/docker-beach-php · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix banner skip detection #18

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

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Conversation

kdambekalns
Copy link
Member

When FLOWNATIVE_LIB_PATH is not set, the commands later in the script will fail – so this is not a case that will happen.

OTOH skipping the banner unless in an interactive shell makes sense.

Related to flownative/localbeach#82

When `FLOWNATIVE_LIB_PATH` is not set, the commands later in the
script will fail – so this is not a case that will happen.

OTOH skipping the banner unless in an interactive shell makes sense.

Related to flownative/localbeach#82
@kdambekalns kdambekalns self-assigned this Sep 20, 2024
kdambekalns added a commit to flownative/localbeach that referenced this pull request Sep 20, 2024
This makes the shell spawned by `beach exec´ when used to directly run
commands in the container a login shell. That makes it read the file
`~/.profile` and thus sets environment variables as expected.

With flownative/docker-beach-php#18 the banner
will still be skipped.

Fixes #82
kdambekalns added a commit to flownative/localbeach that referenced this pull request Sep 20, 2024
This makes the shell spawned by `beach exec` when used to directly run
commands in the container a login shell. That makes it read the file
`~/.profile` and thus sets environment variables as expected.

With flownative/docker-beach-php#18 the banner
will still be skipped.

Fixes #82
@kdambekalns kdambekalns merged commit e9a1578 into main Sep 23, 2024
@kdambekalns kdambekalns deleted the task/tweak-banner-skip-detection branch September 23, 2024 12:10
@kdambekalns
Copy link
Member Author

Ah, now I get it – if that variable is not set, sourcing .env will set it! 😑

kdambekalns added a commit that referenced this pull request Oct 7, 2024
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.

1 participant
0