Fixed small issue in replacing sysroot functionality.
Need to consider that the board name may contain "-"

BUG=None
TEST=Run the script for several boards and verified the copy was happening correctly.

Change-Id: Ic7e34548d65962da11a4ca1cb575fdfb6769feed
Reviewed-on: https://gerrit-int.chromium.org/34400
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Commit-Queue: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
1 file changed