aboutsummaryrefslogtreecommitdiffstats
path: root/dbc-client
diff options
context:
space:
mode:
authorpkaras <piotr.karas@nokia.com>2019-04-19 11:11:41 +0200
committerpkaras <piotr.karas@nokia.com>2019-04-19 11:11:41 +0200
commitfd0303edca693b06b736439ed4b1a8fc48460ef2 (patch)
tree55a48d3fbc9757df1f8fe8808f6e9fad26618f9d /dbc-client
parenta433b642cff989aabc4c3f918daaa90377a92453 (diff)
Fix problem with post install job
Change-Id: I50cf713bf1777824ea19a76a769e85aeae923881 Issue-ID: DMAAP-1172 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
Diffstat (limited to 'dbc-client')
-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 c29ec86..e9b01f5 100644
--- a/dbc-client/misc/dbc-client
+++ b/dbc-client/misc/dbc-client
@@ -57,7 +57,7 @@ config() {
ls -l
if [ -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!"