X-Git-Url: https://git.rapsys.eu/distcook/blobdiff_plain/6383b26b1c12f42b614c9fb443649730632a96b1..0fc89b9501a8a2161ed80710836b1c2089c47334:/cook?ds=sidebyside diff --git a/cook b/cook index e501fe2..c3d1a4f 100755 --- a/cook +++ b/cook @@ -5,7 +5,7 @@ export LC_ALL=C # Extract configuration echo '#! /bin/sh -e' > lib/config.sh -cat config/*.conf | perl -pne 'undef $_ if /^#/; s/^/export /' >> lib/config.sh +cat config/*.conf | perl -pne 'if (/^#/) {undef $_;} else {s/^/export /;}' >> lib/config.sh # Source config . lib/config.sh