mirror of
https://git.proxmox.com/git/mirror_linux-firmware
synced 2025-07-17 19:02:32 +00:00
copy-firmware.sh: fix indentation
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user