aboutsummaryrefslogtreecommitdiffstats
path: root/dbc-client/misc
diff options
context:
space:
mode:
authorDominic Lunanuova <dgl@research.att.com>2019-04-30 00:13:38 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-30 00:13:38 +0000
commit52ef341d9127771ed5876f0f8057a6d2db9b006e (patch)
treedac839880797b5770ae51710dc6b4341ce6b3f92 /dbc-client/misc
parent0494603a4624d391af8b5a3918555ea7e47ffa10 (diff)
parentfd0303edca693b06b736439ed4b1a8fc48460ef2 (diff)
Merge "Fix problem with post install job"
Diffstat (limited to 'dbc-client/misc')
-rw-r--r--dbc-client/misc/dbc-client2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbc-client/misc/dbc-client b/dbc-client/misc/dbc-client
index 1e079bf..d1de3e1 100644
--- a/dbc-client/misc/dbc-client
+++ b/dbc-client/misc/dbc-client
@@ -65,7 +65,7 @@ config() {
CURLCRED="-K $PEMDIR/curl.cred"
elif [ -f $CAPEM -a -f $CLIENTPEM -a -f $KEYPEM ]
then
- echo "--key $PEMDIR/$KEYPEM --cacert $PEMDIR/$CAPEM --cert $PEMDIR/${CLIENTPEM}:${CERTPWD}" > $PEMDIR/curl.cred
+ printf "key \"$PEMDIR/$KEYPEM\"\ncacert \"$PEMDIR/$CAPEM\"\ncert \"$PEMDIR/${CLIENTPEM}:${CERTPWD}\"" > $PEMDIR/curl.cred
CURLCRED="-K $PEMDIR/curl.cred"
else
echo "Warning: PEM files for authorization not found!"