X-Git-Url: https://git.rapsys.eu/distcook/blobdiff_plain/658759498941fe6b714790087db75ea29050ddee..ef7067a1fbe460f378880439771f802746395843:/cook?ds=sidebyside diff --git a/cook b/cook index e501fe2..5b50b50 100755 --- a/cook +++ b/cook @@ -5,13 +5,13 @@ 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 # Configure urpmi -#. lib/urpmi.sh +. lib/urpmi.sh # Install rpm . lib/install.sh