X-Git-Url: https://git.rapsys.eu/distcook/blobdiff_plain/0fc89b9501a8a2161ed80710836b1c2089c47334..1aa323398b3be427e4adab91386d2c98da3c69e8:/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