diff options
author | David Hubbard <david.c.hubbard+coreboot@gmail.com> | 2013-05-28 16:33:15 -0600 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-06-04 01:15:20 +0200 |
commit | 5b0420a87b913d7c672fa8cd7b21218b6de3a247 (patch) | |
tree | 485f5e27f7ba800dac7fac41ed237a5edefa2efa | |
parent | f97ff3f72c038b711fd3c1e7b73abaa05add2094 (diff) |
crossgcc/buildgcc: Remove unneeded 'break' statements
Bash case statements are terminated with ';;'.
Unlike C, bash case statements will not continue to the next case. No 'break' is needed.
Change-Id: I62e7e91f3223ac4052728a1ca12a4681af0dc036
Signed-off-by: David Hubbard <david.c.hubbard+coreboot@gmail.com>
Reviewed-on: http://review.coreboot.org/3330
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rwxr-xr-x | util/crossgcc/buildgcc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index c436f8edc7..1d8e54c771 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -215,16 +215,16 @@ while true ; do -G|--gdb) shift; SKIPGDB=0;; -S|--scripting) shift; SKIPPYTHON=0;; -y|--ccache) shift; USECCACHE=1;; - --) shift; break;; + --) shift;; -*) printf "Invalid option\n\n"; myhelp; exit 1;; - *) break;; + *) ;; esac done case "$TARGETARCH" in - armv7a-eabi) break;; - i386-elf) break;; - i386-mingw32) break;; + armv7a-eabi) ;; + i386-elf) ;; + i386-mingw32) ;; i386*) TARGETARCH=i386-elf;; arm*) TARGETARCH=armv7a-eabi;; *) printf "Invalid architecture\n\n"; myhelp; exit 1;; |