Merge "Fix problem with post install job"
[dmaap/buscontroller.git] / dbc-client / misc / dbc-client
index 1e079bf..d1de3e1 100644 (file)
@@ -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!"