这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@alex-sherwin
Copy link

Made some changes which improve how the config/commands plugin iterates over the environment variable hash to make setting config variables containing spaces possible, for example after this change this works:

sudo dokku config:set myapp 'JAVA_OPTS="-Xmx384m -Xss512k -XX:+UseCompressedOops"' ARG2=VAL4

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read on lines rather then words

@fkowal
Copy link

fkowal commented Apr 17, 2014

i was just fighting with the same problem. can't wait for you patchset to be merged.

I're a much better bash expert then I.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is still a bug somewhere

running dokku config:set APP 'KEY="val val2"' works when runnings this commands directly

but when i do the same over ssh
ssh dokku@host:APP config:set 'KEY="val val2"'

the $# is 3 in one case and 4 over ssh :(
i am guessing the bug is in calling this command from 'sshcommand'

@josegonzalez
Copy link
Member

Closed by #702

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants