X-Git-Url: https://git.rapsys.eu/distcook/blobdiff_plain/0fc89b9501a8a2161ed80710836b1c2089c47334..a922253e3098b29c87f8bfc14c2f8297de8fb325:/lib/export.sh?ds=inline 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