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

Fixes nextcloud/docker#1088 #1257

Open
wants to merge 1 commit into
base: master
from
Open

Fixes nextcloud/docker#1088 #1257

wants to merge 1 commit into from

Conversation

@nicobo
Copy link

@nicobo nicobo commented Oct 4, 2020

Fixes "NEXTCLOUD_ADMIN_PASSWORD can't have spaces"

By double-quoting the buggy lines...

Fixes #1088
Signed-off-by: nicobo <nicobo@users.noreply.github.com>
@nicobo nicobo force-pushed the nicolabs:master branch from 80dde0a to 622cdd6 Oct 4, 2020
local varValue=$(env | grep -E "^${var}=" | sed -E -e "s/^${var}=//")
local fileVarValue=$(env | grep -E "^${fileVar}=" | sed -E -e "s/^${fileVar}=//")
local varValue="`env | grep -E \"^${var}=\" | sed -E -e \"s/^${var}=//\"`"
local fileVarValue="`env | grep -E \"^${fileVar}=\" | sed -E -e \"s/^${fileVar}=//\"`"

This comment has been minimized.

@NeroBurner

NeroBurner Oct 14, 2020
Contributor

why replace the newer $() syntax with the (what I believe) older and less readable ` syntax?

This comment has been minimized.

@nicobo

nicobo Oct 15, 2020
Author

@NeroBurner I just tried to replace this at first to see if it was causing the strange behavior. You can probably put them back.
BTW I find backquotes way more readable 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.