1 # -*- shell-script -*- :mode=shellscript:
3 # Author: Florian Haftmann, TU Muenchen
5 # init_components - bash source script to initialize components
6 # as specified in the Admin directory
8 function init_component_liberal
11 if [[ -d "${LOCATION}" ]]
13 init_component "${LOCATION}"
15 echo "Warning: no component found in ${LOCATION}" >&2
19 while { unset REPLY; read -r; test "$?" = 0 -o -n "${REPLY}"; }
23 /*) init_component_liberal "${REPLY}" ;;
24 *) init_component_liberal "${COMPONENT}/${REPLY}" ;;
26 done < "${ISABELLE_HOME}/Admin/components"