[lxc/lxc] ac46b3: Replace deprecated backticks with $() construct

0 views
Skip to first unread message

Stéphane Graber

unread,
Oct 28, 2021, 3:32:08 PMOct 28
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: ac46b35693dd1904be3a8f14e99f00b07584cb6b
https://github.com/lxc/lxc/commit/ac46b35693dd1904be3a8f14e99f00b07584cb6b
Author: Diederik de Haas <didi....@cknow.org>
Date: 2021-10-28 (Thu, 28 Oct 2021)

Changed paths:
M coccinelle/run-coccinelle.sh
M config/init/common/lxc-containers.in
M config/init/common/lxc-net.in
M configure.ac
M hooks/mountecryptfsroot
M src/lxc/cmd/lxc-checkconfig.in
M src/lxc/lxc.functions.in
M src/tests/lxc-test-apparmor-generated
M src/tests/lxc-test-apparmor-mount
M src/tests/lxc-test-automount
M src/tests/lxc-test-cloneconfig
M src/tests/lxc-test-createconfig
M src/tests/lxc-test-fuzzers
M src/tests/lxc-test-lxc-attach
M src/tests/lxc-test-rootfs
M src/tests/lxc-test-snapdeps
M src/tests/lxc-test-symlink
M src/tests/lxc-test-unpriv
M templates/lxc-busybox.in

Log Message:
-----------
Replace deprecated backticks with $() construct

See https://github.com/koalaman/shellcheck/wiki/SC2006 for details.
Not only uses this the recommended construct, it also makes the code
more uniform as in many other places the $() construct was already used.

Signed-off-by: Diederik de Haas <didi....@cknow.org>


Commit: 0344de5b47fd80eb0ad873e8e2290de2f144d438
https://github.com/lxc/lxc/commit/0344de5b47fd80eb0ad873e8e2290de2f144d438
Author: Stéphane Graber <stgr...@ubuntu.com>
Date: 2021-10-28 (Thu, 28 Oct 2021)

Changed paths:
M coccinelle/run-coccinelle.sh
M config/init/common/lxc-containers.in
M config/init/common/lxc-net.in
M configure.ac
M hooks/mountecryptfsroot
M src/lxc/cmd/lxc-checkconfig.in
M src/lxc/lxc.functions.in
M src/tests/lxc-test-apparmor-generated
M src/tests/lxc-test-apparmor-mount
M src/tests/lxc-test-automount
M src/tests/lxc-test-cloneconfig
M src/tests/lxc-test-createconfig
M src/tests/lxc-test-fuzzers
M src/tests/lxc-test-lxc-attach
M src/tests/lxc-test-rootfs
M src/tests/lxc-test-snapdeps
M src/tests/lxc-test-symlink
M src/tests/lxc-test-unpriv
M templates/lxc-busybox.in

Log Message:
-----------
Merge pull request #4023 from diederikdehaas/fix-SC2006

Replace backticks with $() construct


Compare: https://github.com/lxc/lxc/compare/7f71fbfd769b...0344de5b47fd
Reply all
Reply to author
Forward
0 new messages