Update riak-admin escape to use printf instead of echo
`echo` is not the most portable method to pipe output. In some systems `echo -n hello` will output `"-n hello"`. I was experiencing this when getting an "invalid JSON" error while creating buckets with `riak admin`. `printf` is a more reliable way to "echo" variables without newlines.
合并状态:未合并 0 条评论