Unverified Commit 24bb0606 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

compressFirmwareXz: fail on broken symlinks

This would have caught the last two issues we had with compression.
parent a136def4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -21,4 +21,7 @@ runCommand "${firmware.name}-xz" args ''
        ln -vs -- "''${target/^${firmware}/$out}" "$out/$link"
      fi
  done

  echo "Checking for broken symlinks:"
  find -L $out -type l -print -execdir false -- '{}' '+'
''