Fix usage of GRML_LIVE_SOURCES
[grml-live.git] / grml-live
index efaea44..94c9c03 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -9,6 +9,9 @@
 
 # read configuration files, set some misc variables {{{
 
+export LANG=C
+export LC_ALL=C
+
 # exit on any error:
 set -e
 
@@ -122,7 +125,7 @@ fi
 # }}}
 
 if [ -n "$GRML_LIVE_SOURCES" ] ; then
-   echo $GRML_LIVE_SOURCES > /etc/grml/fai/apt/sources.list
+   echo "$GRML_LIVE_SOURCES" > /etc/grml/fai/apt/sources.list
 fi
 
 if [ -n "$FAI_DEBOOTSTRAP" ] ; then