]> git.proxmox.com Git - mirror_linux-firmware.git/commitdiff
copy-firmware.sh: fix indentation
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 22 Sep 2024 15:42:48 +0000 (16:42 +0100)
committerMario Limonciello <superm1@gmail.com>
Thu, 10 Oct 2024 14:33:32 +0000 (14:33 +0000)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
copy-firmware.sh

index 65a1b39b93293d1f876ea0cd2991e811247e9ecd..f83b4775cd2ce873b0f6fa76c4d61df3bcf1b5df 100755 (executable)
@@ -58,8 +58,8 @@ while test $# -gt 0; do
 done
 
 if test -z "$destdir"; then
-       echo "ERROR: destination directory was not specified"
-       exit 1
+    echo "ERROR: destination directory was not specified"
+    exit 1
 fi
 
 # shellcheck disable=SC2162 # file/folder name can include escaped symbols
@@ -115,9 +115,9 @@ done
 
 # Verify no broken symlinks
 if test "$(find "$destdir" -xtype l | wc -l)" -ne 0 ; then
-        echo "ERROR: Broken symlinks found:"
-        find "$destdir" -xtype l
-        exit 1
+    echo "ERROR: Broken symlinks found:"
+    find "$destdir" -xtype l
+    exit 1
 fi
 
 exit 0