]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
mount-copybind: fix shellcheck warning
authorLuca Boccassi <bluca@debian.org>
Fri, 25 Mar 2022 18:40:31 +0000 (18:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Mar 2022 09:33:28 +0000 (09:33 +0000)
commit56c7962a6c31acfe0e118f713954aeafd7e2d9c0
tree1f3c9a63c4788e426b2b58e5d49ffd44c60e9687
parente478381ac1cccc5f882198fd11c8757db7e3741a
mount-copybind: fix shellcheck warning

$ shellcheck meta/recipes-core/volatile-binds/files/mount-copybind

In meta/recipes-core/volatile-binds/files/mount-copybind line 54:
            mountcontext=",rootcontext=$(matchpathcon -n $mountpoint)"
                                                         ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean:
            mountcontext=",rootcontext=$(matchpathcon -n "$mountpoint")"

For more information:
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-core/volatile-binds/files/mount-copybind