diff options
author | P. J. McDermott <pj@pehjota.net> | 2015-10-27 17:54:19 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2015-10-27 17:54:19 (EDT) |
commit | 0ed86da9e312f428f75a81fca8d4a4c9dad90224 (patch) | |
tree | 0e97d080b652b32c4e376b2bb88e684b2212a603 /src | |
parent | 6c80eca0d49dd8a9bb829d3fce7d23d1789ac88f (diff) | |
download | firman.sh-0ed86da9e312f428f75a81fca8d4a4c9dad90224.zip firman.sh-0ed86da9e312f428f75a81fca8d4a4c9dad90224.tar.gz firman.sh-0ed86da9e312f428f75a81fca8d4a4c9dad90224.tar.bz2 |
find_board(): Add debugging output
Diffstat (limited to 'src')
-rw-r--r-- | src/board.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/board.sh b/src/board.sh index dfd128d..cc4c54b 100644 --- a/src/board.sh +++ b/src/board.sh @@ -38,9 +38,11 @@ find_board() local fn= for board in ${boards}; do + dbg 'Checking board "%s"' "${board}" if ! board_${board}_match "${vendor}" "${part}" "${chip}"; then continue fi + dbg 'Match found' for fn in ${board_functions}; do eval "board_${fn}() { board_${board}_${fn} \"\${@}\"; }" done |