Fixes for install-bootloader.sh

- Fix stat not following through symlinks
- Fix misspelled variable names
- Get return code of diff, instead of stdout

Change-Id: I83133998f778549535c47d2875e222a4456f1850
2 files changed
tree: bbddfe6be85c47a9cff5e676a3793a5873854e2d
  1. debian/
  2. mt8167-coral/
  3. usr/
  4. boot.txt
  5. overlays.txt
  6. ubootenv.py