]> Raphaƫl G. Git Repositories - distcook/blob - lib/export.sh
Fix config name
[distcook] / lib / export.sh
1 #! /bin/sh -e
2
3 # Clear config
4 cat /dev/null > root.conf
5
6 # Append every config parameters
7 for i in `cat config/*.conf | perl -pne 'undef $_ if /^#/; s/=.*$//'`; do
8 eval echo ${i}=\$$i | tee -a root.conf
9 done