added all switch

This commit is contained in:
q
2014-10-23 12:31:18 +03:00
parent 46a2c4620a
commit 0660fdce21

View File

@@ -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"