mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
synced 2025-12-19 11:44:43 +08:00
copy-firmware.sh: fix indentation
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
committed by
Mario Limonciello
parent
a3446bc1a7
commit
6360b4a1d7
@@ -58,8 +58,8 @@ while test $# -gt 0; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
if test -z "$destdir"; then
|
if test -z "$destdir"; then
|
||||||
echo "ERROR: destination directory was not specified"
|
echo "ERROR: destination directory was not specified"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# shellcheck disable=SC2162 # file/folder name can include escaped symbols
|
# shellcheck disable=SC2162 # file/folder name can include escaped symbols
|
||||||
@@ -115,9 +115,9 @@ done
|
|||||||
|
|
||||||
# Verify no broken symlinks
|
# Verify no broken symlinks
|
||||||
if test "$(find "$destdir" -xtype l | wc -l)" -ne 0 ; then
|
if test "$(find "$destdir" -xtype l | wc -l)" -ne 0 ; then
|
||||||
echo "ERROR: Broken symlinks found:"
|
echo "ERROR: Broken symlinks found:"
|
||||||
find "$destdir" -xtype l
|
find "$destdir" -xtype l
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user