Add -of10 flag
authorEd Warnicke <eaw@cisco.com>
Fri, 4 Jul 2014 18:56:40 +0000 (18:56 +0000)
committerEd Warnicke <eaw@cisco.com>
Fri, 4 Jul 2014 18:56:40 +0000 (18:56 +0000)
Change-Id: Ic43760e13a929d8baa6bfd4077a2b321802be234
Signed-off-by: Ed Warnicke <eaw@cisco.com>
distributions/base/src/assemble/resources/run.sh

index ece3a515193b591427696bfafad428bfeeb555dc..ccbc78180267e23de3b4a746957619d58995bc30 100755 (executable)
@@ -21,6 +21,7 @@ function usage {
         echo
         echo '    Added option for integration:'
         echo '    of13             [-of13]'
+        echo '    of10             [-of10]'
         echo
         echo '    Visit wiki for more information :'
         echo
@@ -40,6 +41,7 @@ BUNDLEFILTER=
 while true ; do
     (( i += 1 ))
     case "${@:$i:1}" in
+        -of10) OF13=0 ; (( i += 1 ));;
         -of13) OF13=1 ; (( i += 1 ));;
         -bundlefilter) (( i += 1 )); BUNDLEFILTER="|${@:$i:1}";;
         -help) (( i += 1 )); helparg=${@:$i:1}; usage ;;
@@ -65,7 +67,7 @@ fi
 
 # Make sure we suck out our additional args so as to not confuse
 # run.internal.sh
-NEWARGS=`echo $@|sed 's/-of13//'|sed 's/-bundlefilter[ ]*[^ ]*//'`
+NEWARGS=`echo $@|sed 's/-of13//'|sed 's/-of10//'|sed 's/-bundlefilter[ ]*[^ ]*//'`
 
 # Build the filter string
 FILTERBEGINING='^(?!'