Admin/init_components
author blanchet
Sat, 11 Aug 2012 15:54:18 +0200
changeset 48766 553ad5f99968
parent 48448 94c11abc5a52
child 48842 ac976e51cb67
permissions -rw-r--r--
fixed "double rev" bug that arose in situations where a % comment arose on the last line of a file without \n at the end

# -*- shell-script -*- :mode=shellscript:
#
# Author: Florian Haftmann, TU Muenchen
#
# init_components - bash source script to initialize components
# as specified in the Admin directory

while { unset REPLY; read -r; test "$?" = 0 -o -n "$REPLY"; }
do
  case "$REPLY" in
    \#* | "") ;;
    /*) init_component "$REPLY" ;;
    *) init_component "$COMPONENT/$REPLY" ;;
  esac
done < "$ISABELLE_HOME/Admin/components"