diff --git a/root/preprocessor.sh b/root/preprocessor.sh index 41b013c..363f79c 100755 --- a/root/preprocessor.sh +++ b/root/preprocessor.sh @@ -13,7 +13,7 @@ for x in $DIR/*.in; do echo "s,@@$name@@,$value,g;" done -sed -e '/^#/d;' -e '/^[ \t]*$/d;' -e 's/=/ /' "$DIR/servers.txt" | +sed -e '/^#/d;' -e 's,[ \t]*#.*,,' -e '/^[ \t]*$/d;' -e 's/=/ /' "$DIR/servers.txt" | while read name value; do echo "s,@@$name@@,$value,g;" done