1 |
commit: 1090b5588fa26cedc773014c9d46cdbf91ea55f7 |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 30 22:52:13 2020 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 30 22:52:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=1090b558 |
7 |
|
8 |
mirmon-wrapper.sh: always shift old args |
9 |
|
10 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
11 |
|
12 |
mirmon-wrapper.sh | 4 +++- |
13 |
1 file changed, 3 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/mirmon-wrapper.sh b/mirmon-wrapper.sh |
16 |
index 2cb6260..0340ec6 100755 |
17 |
--- a/mirmon-wrapper.sh |
18 |
+++ b/mirmon-wrapper.sh |
19 |
@@ -131,19 +131,21 @@ while [[ $# -gt 0 ]]; do |
20 |
XML_SRC=$2 |
21 |
shift 2 |
22 |
;; |
23 |
- |
24 |
--url) |
25 |
URL=$2 |
26 |
shift 2 |
27 |
;; |
28 |
--debug) |
29 |
DEBUG=1 |
30 |
+ shift |
31 |
;; |
32 |
--verbose) |
33 |
VERBOSE=1 |
34 |
+ shift |
35 |
;; |
36 |
--help) |
37 |
HELP=1 |
38 |
+ shift |
39 |
;; |
40 |
--) |
41 |
# End of options |