Commit 69cb87c3 authored by Marco Mariani's avatar Marco Mariani

change ' -> " to allow variable substitution

parent d61b1341
......@@ -238,7 +238,7 @@ loadConfigKey() {
chown ${zimbra_uid} ${tmpfile}
if [ ! -s ${file} ]; then
echo -n "** Retrieving $location config key $key..."
( ${zimbra_home}/bin/zmprov -m -l -- ${zmprov_opts} ${key} | sed -e 's/^${key}::* //' > ${tmpfile} 2> /dev/null ) && mv -f ${tmpfile} ${file}
( ${zimbra_home}/bin/zmprov -m -l -- ${zmprov_opts} ${key} | sed -e "s/^${key}::* //" > ${tmpfile} 2> /dev/null ) && mv -f ${tmpfile} ${file}
if [ $? = 0 -a -s "${file}" ]; then
echo "done."
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment