X-Git-Url: https://git.rapsys.eu/distcook/blobdiff_plain/5da62561461f6e5dde6d632ec1be39ed5621e137..6948502c421e507434d27549985d8a2c422ff0dd:/lib/export.sh diff --git a/lib/export.sh b/lib/export.sh index e8c65fc..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