summaryrefslogtreecommitdiff
path: root/script/build/serprog
diff options
context:
space:
mode:
Diffstat (limited to 'script/build/serprog')
-rwxr-xr-xscript/build/serprog5
1 files changed, 4 insertions, 1 deletions
diff --git a/script/build/serprog b/script/build/serprog
index 93ea9302..7f8664a9 100755
--- a/script/build/serprog
+++ b/script/build/serprog
@@ -34,7 +34,10 @@ main()
x_ mkdir -p "bin/serprog_${platform}"
if [ $# -gt 1 ] ; then
- [ "${2}" = "list" ] && print_boards ${boards_dir} && return 0
+ if [ "${2}" = "list" ]; then
+ print_boards ${boards_dir}
+ return 0
+ fi
build_${platform}_rom "${2}"
else
printf "Building all serprog targets\n"