From 3ec833806f187f04584884b76cfb6124e47bf23b Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Tue, 5 May 2015 11:00:10 +0200 Subject: [PATCH] debootstrap: fix syntax issues There's no need for 'break' to exit a switch case, ';;' will work fine. Change-Id: I4f23c80422a3c1dbd0db3972854ae67e38fc7be8 --- elements/debootstrap/root.d/08-debootstrap | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/elements/debootstrap/root.d/08-debootstrap b/elements/debootstrap/root.d/08-debootstrap index 643b252f..bf8e69bd 100755 --- a/elements/debootstrap/root.d/08-debootstrap +++ b/elements/debootstrap/root.d/08-debootstrap @@ -32,12 +32,11 @@ if [ $DISTRO_NAME = 'ubuntu' ] ; then KERNEL='generic' else case $ARCH in - amd64) KERNEL='amd64' ; break ;; - i386) KERNEL='686' ; break ;; + amd64) KERNEL='amd64' ;; + i386) KERNEL='686' ;; arm7) [ -n "$DIB_ARM_KERNEL" ] KERNEL="$DIB_ARM_KERNEL" - break ;; esac fi