1
0
mirror of https://github.com/rancher/os-kernel.git synced 2025-09-13 13:32:12 +00:00

Fix script indent

This commit is contained in:
niusmallnan
2018-11-29 10:51:04 +08:00
parent 70f9897354
commit d8b99d9a29
2 changed files with 26 additions and 26 deletions

View File

@@ -6,13 +6,13 @@ cd $(dirname $0)/..
FIRMWARE=$(readlink -f scripts/firmware)
echo "FIRMWARE test: $FIRMWARE"
if [ ! -e linux-firmware ]; then
if [ ! -e linux-firmware ]; then
git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
fi
fi
cd linux-firmware
cd linux-firmware
for i in $(<$FIRMWARE); do
for i in $(<$FIRMWARE); do
if [ -e $i ]; then
glob=$(echo $i | sed 's/^\(.*\)-\([^-]*\)\.\([^.]*\)/\1-*.\3/')
#echo Found $i, trying $glob
@@ -27,7 +27,7 @@ echo "FIRMWARE test: $FIRMWARE"
else
echo WARNING: Firmware listed in $FIRMWARE Not found $i
fi
done
done
if [ "$STOP" != "" ]; then
echo "Update the $FIRMWARE file:"