From 0660fdce217f62e0baf7109d4153f887202f3f9b Mon Sep 17 00:00:00 2001 From: q Date: Thu, 23 Oct 2014 12:31:18 +0300 Subject: [PATCH] added all switch --- anduril/testing/anduril-build-component-docs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anduril/testing/anduril-build-component-docs b/anduril/testing/anduril-build-component-docs index 18f6f61..1cd0b61 100755 --- a/anduril/testing/anduril-build-component-docs +++ b/anduril/testing/anduril-build-component-docs @@ -33,6 +33,9 @@ do [[ -e ${ANDURIL_BUNDLES}/$e/bundle.xml ]] || continue if [ "$search" = "$bname" ] then BUNDLESTRING="-b ${ANDURIL_BUNDLES}/$e" fi + if [ "$1" = "all" ] + then BUNDLESTRING="-b ${ANDURIL_BUNDLES}/$e $BUNDLESTRING" + fi if [ "$bname" = "microarray" ] then MICROHOME="${ANDURIL_BUNDLES}/$e" fi @@ -40,7 +43,7 @@ done echo "" if [ -z "$1" ] -then return_error "Give bundle name to create component docs!" +then return_error "Give bundle name to create component docs! 'all' matches to all bundles in ANDURIL_BUNDLES" fi [ -d "$MICROHOME" ] || return_error "Could not find Microarray bundle home: $MICROHOME"