summaryrefslogtreecommitdiff
path: root/bin/taler-deployment-prepare
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-03-09 13:42:55 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-03-09 13:42:55 +0530
commit5c9dca7649237e429c276b2de32ba27034501951 (patch)
tree83c3f5c841125621092815a9901df21d632216bb /bin/taler-deployment-prepare
parent8e546625f9e2d85159b1eeec425b98d2bcde9de6 (diff)
downloaddeployment-5c9dca7649237e429c276b2de32ba27034501951.tar.gz
deployment-5c9dca7649237e429c276b2de32ba27034501951.tar.bz2
deployment-5c9dca7649237e429c276b2de32ba27034501951.zip
make sure target dir exists before copying
Diffstat (limited to 'bin/taler-deployment-prepare')
-rwxr-xr-xbin/taler-deployment-prepare1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/taler-deployment-prepare b/bin/taler-deployment-prepare
index 20d737b..7f8c543 100755
--- 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
;;