debootstrap: fix syntax issues
There's no need for 'break' to exit a switch case, ';;' will work fine. Change-Id: I4f23c80422a3c1dbd0db3972854ae67e38fc7be8
This commit is contained in:
parent
c5c6a5f4f2
commit
3ec833806f
@ -32,12 +32,11 @@ if [ $DISTRO_NAME = 'ubuntu' ] ; then
|
|||||||
KERNEL='generic'
|
KERNEL='generic'
|
||||||
else
|
else
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
amd64) KERNEL='amd64' ; break ;;
|
amd64) KERNEL='amd64' ;;
|
||||||
i386) KERNEL='686' ; break ;;
|
i386) KERNEL='686' ;;
|
||||||
arm7)
|
arm7)
|
||||||
[ -n "$DIB_ARM_KERNEL" ]
|
[ -n "$DIB_ARM_KERNEL" ]
|
||||||
KERNEL="$DIB_ARM_KERNEL"
|
KERNEL="$DIB_ARM_KERNEL"
|
||||||
break
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user