Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/pkgdelta.sh.in
diff options
context:
space:
mode:
authorRafael Ascensão <rafa.almas@gmail.com>2018-05-01 17:54:04 +0100
committerAllan McRae <allan@archlinux.org>2018-05-12 21:09:37 +1000
commitfa8b99189e9f2035a81c8ff8275894b61dc0bce7 (patch)
treec01b15da2861217023229d51217a14247bb97411 /scripts/pkgdelta.sh.in
parent77986af9b7ae9b2cc701a30bcc1cac51b6f1b5be (diff)
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/pkgdelta.sh.in')
-rw-r--r--scripts/pkgdelta.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pkgdelta.sh.in b/scripts/pkgdelta.sh.in
index 4500dd75..316d6395 100644
--- a/scripts/pkgdelta.sh.in
+++ b/scripts/pkgdelta.sh.in
@@ -202,7 +202,7 @@ while :; do
shift ;;
--)
shift
- break 2 ;;
+ break ;;
esac
shift
done