Add mockinit option back into build script 16/4616/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Thu, 23 Jan 2014 05:22:22 +0000 (21:22 -0800)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Thu, 23 Jan 2014 05:22:22 +0000 (21:22 -0800)
I can't seem to find where it disappeared but the option has stopped
working (maybe it never really did work?). In any case, it really should
be in the script.

Change-Id: I3107472eb56a2ea82354ce658b472f0ab3b46d2f
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
packaging/rpm/buildrpm.sh

index 646640f17e3b5da255446132c6043832ed965a00..d4dc077be6bd1861de0439ab7b66063c0f00949c 100755 (executable)
@@ -527,6 +527,10 @@ function parse_options {
             fi
             ;;
 
+        --mockinit)
+            mockinit=1; shift;
+            ;;
+
         --mockmvn)
             shift; mockmvn="$1"; shift;
             if [ "$mockmvn" == "" ]; then