From 2236d60f413facd6841018a1836fc4a7f59e8b19 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 27 Oct 2015 16:03:52 -0400 Subject: select_board(): Rework into a find_board() stub --- diff --git a/src/board.sh b/src/board.sh index 35d2bcf..a806be9 100644 --- a/src/board.sh +++ b/src/board.sh @@ -17,11 +17,13 @@ board_functions='get_name match validate_chip get_dists' -select_board() +find_board() { - local board="${1}" + local board= local fn= + board='x200_8mb' + for fn in ${board_functions}; do eval "board_${fn}() { board_${board}_${fn} \"\${@}\"; }" done -- cgit v0.9.1