]> git.proxmox.com Git - mirror_lxc.git/commit
Replace deprecated backticks with $() construct
authorDiederik de Haas <didi.debian@cknow.org>
Thu, 28 Oct 2021 17:30:05 +0000 (19:30 +0200)
committerDiederik de Haas <didi.debian@cknow.org>
Thu, 28 Oct 2021 18:15:29 +0000 (20:15 +0200)
commitac46b35693dd1904be3a8f14e99f00b07584cb6b
treeeb59a8b651b9c5aaeedc8ce3b9dedb7ac54bb3bf
parent6e8843d148c4b0ba4c112a2f026e8dd6e245aca1
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.debian@cknow.org>
19 files changed:
coccinelle/run-coccinelle.sh
config/init/common/lxc-containers.in
config/init/common/lxc-net.in
configure.ac
hooks/mountecryptfsroot
src/lxc/cmd/lxc-checkconfig.in
src/lxc/lxc.functions.in
src/tests/lxc-test-apparmor-generated
src/tests/lxc-test-apparmor-mount
src/tests/lxc-test-automount
src/tests/lxc-test-cloneconfig
src/tests/lxc-test-createconfig
src/tests/lxc-test-fuzzers
src/tests/lxc-test-lxc-attach
src/tests/lxc-test-rootfs
src/tests/lxc-test-snapdeps
src/tests/lxc-test-symlink
src/tests/lxc-test-unpriv
templates/lxc-busybox.in