From 5b0420a87b913d7c672fa8cd7b21218b6de3a247 Mon Sep 17 00:00:00 2001 From: David Hubbard Date: Tue, 28 May 2013 16:33:15 -0600 Subject: 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 Reviewed-on: http://review.coreboot.org/3330 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/crossgcc/buildgcc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'util') 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;; -- cgit v1.2.3