From bfdff063f3b8cda46edb3b3cb50a8763c7969d7d Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Fri, 21 Mar 2014 19:22:37 +0000 Subject: Don't fail if /root/.ssh is already there --- distbuild.configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distbuild.configure b/distbuild.configure index eb2ef04a..e8022062 100644 --- a/distbuild.configure +++ b/distbuild.configure @@ -152,7 +152,7 @@ fcgi-server = False EOF echo "Copy distbuild worker SSH key to system" -mkdir "$1/root/.ssh" +mkdir -p "$1/root/.ssh" install -m 0600 "$WORKER_SSH_KEY" "$1/root/.ssh/id_rsa" install -m 0644 "${WORKER_SSH_KEY}.pub" "$1/root/.ssh/id_rsa.pub" -- cgit v1.2.1