Browse Source

preprocessor: added support for comments in the servers list

testing
Alejandro Mery 15 years ago
parent
commit
13fd5669a4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      root/preprocessor.sh

+ 1
- 1
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

Loading…
Cancel
Save