From: Raphaƫl Gertz Date: Tue, 21 Jun 2016 09:16:40 +0000 (+0200) Subject: Fix config name X-Git-Tag: 0.1~16 X-Git-Url: https://git.rapsys.eu/distcook/commitdiff_plain/5da62561461f6e5dde6d632ec1be39ed5621e137?hp=652b35d8edfe8df132227808120458f788e636c2 Fix config name --- diff --git a/.gitignore b/.gitignore index ea45523..cad684a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ root -root.config +root.conf ihttpd-*.rpm diff --git a/lib/export.sh b/lib/export.sh index b3d6716..e8c65fc 100644 --- a/lib/export.sh +++ b/lib/export.sh @@ -1,9 +1,9 @@ #! /bin/sh -e # Clear config -cat /dev/null > root.config +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.config + eval echo ${i}=\$$i | tee -a root.conf done