Commit 9c127066 authored by khadythiara's avatar khadythiara

Fix CRLF to LF conversion

parent b24294ba
......@@ -18,7 +18,7 @@ function check_config() {
param="$1"
value="$2"
if grep -q -E "^\s*\b${param}\b\s*=" "$ODOO_RC" ; then
value=$(grep -E "^\s*\b${param}\b\s*=" "$ODOO_RC" |cut -d " " -f3|sed 's/["\n\r]//g')
value=$(grep -E "^\s*\b${param}\b\s*=" "$ODOO_RC" |cut -d " " -f3|sed -i 's/\r$//')
fi;
DB_ARGS+=("--${param}")
DB_ARGS+=("${value}")
......
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