]> Raphaƫl G. Git Repositories - distcook/blobdiff - cook
Add missings usefulle packages
[distcook] / cook
diff --git a/cook b/cook
index e501fe26ddeee9f0d2ff406f109cc700d89f1a40..c3d1a4fba25f078704d1fd89e6d0e2af48ee4931 100755 (executable)
--- a/cook
+++ b/cook
@@ -5,7 +5,7 @@ export LC_ALL=C
 
 # Extract configuration
 echo '#! /bin/sh -e' > lib/config.sh
 
 # 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
 
 # Source config
 . lib/config.sh