X-Git-Url: https://git.rapsys.eu/distcook/blobdiff_plain/0fc89b9501a8a2161ed80710836b1c2089c47334..6948502c421e507434d27549985d8a2c422ff0dd:/lib/export.sh diff --git a/lib/export.sh b/lib/export.sh index 40e3704..c443936 100644 --- a/lib/export.sh +++ b/lib/export.sh @@ -5,5 +5,5 @@ cat /dev/null > root.conf # Append every config parameters for i in `cat config/*.conf | perl -pne 'undef $_ if /^#/; s/=.*$//'`; do - eval echo ${i}=\'\$$i\' | tee -a root.conf + echo "$i='$(eval echo \$$i)'" | tee -a root.conf done