From fa8b99189e9f2035a81c8ff8275894b61dc0bce7 Mon Sep 17 00:00:00 2001 From: Rafael Ascensão Date: Tue, 1 May 2018 17:54:04 +0100 Subject: remove unneeded break argument from option parsing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some scripts are using `break 2` to break out of the option parsing loop. Since a single `break` is sufficient in these cases, remove the extra argument. Signed-off-by: Rafael Ascensão Signed-off-by: Allan McRae --- scripts/libmakepkg/source.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/libmakepkg') diff --git a/scripts/libmakepkg/source.sh.in b/scripts/libmakepkg/source.sh.in index 02bb16f5..5d7df732 100644 --- a/scripts/libmakepkg/source.sh.in +++ b/scripts/libmakepkg/source.sh.in @@ -48,7 +48,7 @@ download_sources() { get_vcs=0 ;; *) - break 2 + break ;; esac shift -- cgit v1.2.3-24-g4f1b