lib/scripts/getsettings
changeset 33294 e2a11715aab1
parent 33286 1807921b6268
child 33295 ce8faf41b0d4
--- a/lib/scripts/getsettings	Wed Oct 28 22:26:00 2009 +0100
+++ b/lib/scripts/getsettings	Wed Oct 28 22:57:32 2009 +0100
@@ -31,6 +31,8 @@
 #users tend to put strange things in here ...
 unset ENV
 unset BASH_ENV
+unset POSIXLY_CORRECT
+set +o posix
 
 #support easy settings
 function choosefrom ()
@@ -105,7 +107,7 @@
           *) init_component "$COMPONENT/$REPLY" ;;
         esac
       done
-    } < "$COMPONENT/etc/components"
+    } < <( cat "$COMPONENT/etc/components"; echo; )
   fi
 }