lib/scripts/getsettings
changeset 33512 771ec7306438
parent 33295 ce8faf41b0d4
child 34043 7129fab1fe4f
--- a/lib/scripts/getsettings	Sat Nov 07 18:55:50 2009 +0000
+++ b/lib/scripts/getsettings	Sun Nov 08 13:44:16 2009 +0100
@@ -98,7 +98,8 @@
   fi
   if [ -f "$COMPONENT/etc/components" ]; then
     {
-      while read; do
+      while { unset REPLY; read -r; test "$?" = 0 -o -n "$REPLY"; }
+      do
         case "$REPLY" in
           \#* | "") ;;
           /*) init_component "$REPLY" ;;