summaryrefslogtreecommitdiff
path: root/script/roms
diff options
context:
space:
mode:
Diffstat (limited to 'script/roms')
-rwxr-xr-xscript/roms2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/roms b/script/roms
index d274eb63..09aa1cb1 100755
--- a/script/roms
+++ b/script/roms
@@ -29,7 +29,7 @@ main()
{
while [ $# -gt 0 ]; do
[ "$1" = "list" ] && eval "x_ ls -1 config/coreboot; return 0"
- [ "$1" = "serprog" ] && eval "shift 1; mkserprog $@; return 0"
+ [ "$1" = "serprog" ] && shift && eval "mkserprog $@; return 0"
[ "$1" = "all" ] && shift && continue
boards="$1 $boards"; shift 1
done