summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/rom.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rom.sh b/include/rom.sh
index 52e39b52..3e8c9c9b 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -8,9 +8,10 @@
mkserprog()
{
[ $# -lt 1 ] && $err "mkserprog: no arguments provided"
+ [ "$_f" = "-d" ] && return 0 # dry run
+
[ "$1" = "pico" ] && mkpicotool
- [ "$_f" = "-d" ] && return 0 # dry run
basename -as .h "$serdir/"*.h > "$TMPDIR/ser" || $err "!mk $1 $TMPDIR"
while read -r sertarget; do