scripts: sync with master

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
bump: v3.10.2

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>