diff options
author | Rafael Ascensão <rafa.almas@gmail.com> | 2018-05-01 17:54:04 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-05-12 21:09:37 +1000 |
commit | fa8b99189e9f2035a81c8ff8275894b61dc0bce7 (patch) | |
tree | c01b15da2861217023229d51217a14247bb97411 /scripts/libmakepkg | |
parent | 77986af9b7ae9b2cc701a30bcc1cac51b6f1b5be (diff) | |
download | pacman-fa8b99189e9f2035a81c8ff8275894b61dc0bce7.tar.xz |
remove unneeded break argument from option parsing
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 <rafa.almas@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg')
-rw-r--r-- | scripts/libmakepkg/source.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |