Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 3dca1af064e3ac25be7deeff1aca9f41ea935358
https://github.com/lxc/lxc/commit/3dca1af064e3ac25be7deeff1aca9f41ea935358
Author: Serge Hallyn <[email protected]>
Date: 2017-10-04 (Wed, 04 Oct 2017)
Changed paths:
M src/lxc/tools/lxc_execute.c
M src/lxc/utils.c
M src/lxc/utils.h
M templates/lxc-oci.in
Log Message:
-----------
implement lxc_string_split_quoted
lxc_string_split_quoted() splits a string on spaces, but keeps
groups in single or double qoutes together. In other words,
generally what we'd want for argv behavior.
Switch lxc-execute to use this for lxc.execute.cmd.
Switch lxc-oci template to put the lxc.execute.cmd inside single
quotes, because parse_line() will eat those. If we don't do that,
then if we have lxc.execute.cmd = /bin/echo "hello, world", then the
last double quote will disappear.
Signed-off-by: Serge Hallyn <[email protected]>
Commit: c38d860cc30db7b5320cc673cd2d32c82345f88a
https://github.com/lxc/lxc/commit/c38d860cc30db7b5320cc673cd2d32c82345f88a
Author: Christian Brauner <[email protected]>
Date: 2017-10-05 (Thu, 05 Oct 2017)
Changed paths:
M src/lxc/tools/lxc_execute.c
M src/lxc/utils.c
M src/lxc/utils.h
M templates/lxc-oci.in
Log Message:
-----------
Merge pull request #1844 from hallyn/2017-10-04/quote
implement lxc_string_split_quoted
Compare: https://github.com/lxc/lxc/compare/fe0fe85d00b0...c38d860cc30d_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel