commit 5c9dca7649237e429c276b2de32ba27034501951
parent 8e546625f9e2d85159b1eeec425b98d2bcde9de6
Author: Florian Dold <florian.dold@gmail.com>
Date: Mon, 9 Mar 2020 13:42:55 +0530
make sure target dir exists before copying
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/bin/taler-deployment-prepare b/bin/taler-deployment-prepare
@@ -60,6 +60,7 @@ case $TALER_ENV_NAME in
echo "Warning: Different exchange private key already exists, not copying"
fi
else
+ mkdir -p "$(dirname "$EXCHANGE_PRIV_FILE")"
cp "$HOME/deployment/private-keys/${TALER_ENV_NAME}-exchange-master.priv" "$EXCHANGE_PRIV_FILE"
fi
;;