Fix gitignore list
Fix export format of config
# Extract configuration
echo '#! /bin/sh -e' > lib/config.sh
# Extract configuration
echo '#! /bin/sh -e' > lib/config.sh
-cat config/*.conf | perl -pne 'undef $_ if /^#/; s/^/export /' >> lib/config.sh
+cat config/*.conf | perl -pne 'if (/^#/) {undef $_;} else {s/^/export /;}' >> lib/config.sh
# Source config
. lib/config.sh
# Source config
. lib/config.sh
# Append every config parameters
for i in `cat config/*.conf | perl -pne 'undef $_ if /^#/; s/=.*$//'`; do
# Append every config parameters
for i in `cat config/*.conf | perl -pne 'undef $_ if /^#/; s/=.*$//'`; do
- eval echo ${i}=\$$i | tee -a root.conf
+ eval echo ${i}=\'\$$i\' | tee -a root.conf