Skip to content

Commit

Permalink
tools/asm/pfpu: fix processing of option -i
Browse files Browse the repository at this point in the history
The option -i wasn't shifted off, causing pfpuasm and ultimately cpp
to fail.
  • Loading branch information
wpwrak committed Jan 15, 2012
1 parent c844116 commit 6e3e917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/asm/pfpu
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
reg="sed 's/^[^#]*# R[0-9]* = //'"
[ "$1" = -i ] && reg=cat
[ "$1" = -i ] && { reg=cat; shift; }
trap "rm -f _out$$" 0
./pfpuasm "$@" >_out$$ || exit
nc -i 1 -C -t -v ${M1_HOST:-m1} telnet <<EOF
Expand Down

0 comments on commit 6e3e917

Please sign in to comment.