diff -r a80595d4f850 -r f06697f776b0 Admin/init_components --- a/Admin/init_components Tue Jun 26 22:23:28 2012 +0200 +++ b/Admin/init_components Tue Jun 26 22:25:36 2012 +0200 @@ -16,11 +16,14 @@ fi } -while { unset REPLY; read -r; test "$?" = 0 -o -n "${REPLY}"; } +for COMPONENTS_FILE in "${ISABELLE_HOME}/Admin/components" "${ISABELLE_HOME}/Admin/components.${ML_PLATFORM}" do - case "${REPLY}" in - \#* | "") ;; - /*) init_component_liberal "${REPLY}" ;; - *) init_component_liberal "${COMPONENT}/${REPLY}" ;; - esac -done < "${ISABELLE_HOME}/Admin/components" + while { unset REPLY; read -r; test "$?" = 0 -o -n "${REPLY}"; } + do + case "${REPLY}" in + \#* | "") ;; + /*) init_component_liberal "${REPLY}" ;; + *) init_component_liberal "${COMPONENT}/${REPLY}" ;; + esac + done < "${COMPONENTS_FILE}" +done