diff mbox series

[OSSTEST,v2,8/8] mg-repro-setup: Do not wrongly reject multiple --rebuild

Message ID 20190621142258.1543-9-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show
Series mg-repro-* improvements | expand

Commit Message

Ian Jackson June 21, 2019, 2:22 p.m. UTC
--rebuild ends the current --rebuild specification.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
v2: New patch
---
 mg-repro-setup | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/mg-repro-setup b/mg-repro-setup
index 3ceb7032..374176f0 100755
--- a/mg-repro-setup
+++ b/mg-repro-setup
@@ -189,6 +189,7 @@  while [ $# -ne 0 ]; do
 			case "$1" in
 			[.=+]*|-r*) rebuild_specs+=("$1");      shift ;;
 		        -B?*)	rebuilds_blessing=${1#-B};      shift ;;
+			--rebuild) break                              ;;
 			-*)	badusage ': bad --rebuild option'     ;;
                         *)      break                                 ;;
 			esac