Skip to content
Snippets Groups Projects
Commit 0fe8834f authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

zmena zjistovani promennych pomoci fgrep -> promenne totiz nejsou prirazene

parent 972cd71a
No related branches found
No related tags found
No related merge requests found
......@@ -281,10 +281,14 @@ doTemplate \
# update Apache configuration file
echo -n "Updating Apache configuration file ... "
cert_file=$(getConfValue "$apache_conf" CERT_FILE)
key_file=$(getConfValue "$apache_conf" KEY_FILE)
ca_file=$(getConfValue "$apache_conf" CA_FILE)
lib=$(getConfValue "$apache_conf" LIB)
cert_file_tmp=`fgrep SSLCertificateFile $apache_conf`
key_file_tmp=`fgrep SSLCertificateKeyFile $apache_conf`
ca_file_tmp=`fgrep SSLCACertificateFile $apache_conf`
lib_tmp=`fgrep PerlSwitches $apache_conf`
cert_file=${cert_file_tmp##*" "}
key_file=${key_file_tmp##*" "}
ca_file=${ca_file_tmp##*" "}
lib=${lib_tmp##*" "}
doTemplate \
_CERT_FILE_ "$cert_file" \
_KEY_FILE_ "$key_file" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment