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"