mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
synced 2025-01-30 11:14:13 +00:00
copy-firmware: drop obsolete backticks, quote
As mentioned by shellcheck backticks are considered legacy. Plus we should ensure the output is quoted, otherwise we'll get word splitting. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This commit is contained in:
parent
77f31a8000
commit
67bf50e72c
@ -46,7 +46,7 @@ grep -E '^Link:' WHENCE | sed -e 's/^Link: *//g;s/-> //g' | while read f d; do
|
||||
cp -d "$f" "$destdir/$f"
|
||||
|
||||
if test "x$d" != "x"; then
|
||||
target=`readlink "$f"`
|
||||
target="$(readlink "$f")"
|
||||
|
||||
if test "x$target" != "x$d"; then
|
||||
$verbose "WARNING: inconsistent symlink target: $target != $d"
|
||||
|
Loading…
Reference in New Issue
Block a user