home · contact · privacy
Minor fixes.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 3 Mar 2025 23:42:29 +0000 (00:42 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 3 Mar 2025 23:42:29 +0000 (00:42 +0100)
testing/scripts/setup_secrets_user.sh

index f994be35918b07a83d58d4afcfde04a656e74e19..a0a4244ebd789dbaf108e53ce83e43bc1be7e0e4 100755 (executable)
@@ -26,6 +26,7 @@ REMOTE_PATH_REPOS=/var/repos
 eval $(ssh-agent) && ssh-add
 ssh-keyscan -H "${REPOS_SITE_DOMAIN}" >> "${PATH_USER_SSH}/known_hosts"
 mkdir "${PATH_REPOS}"
+cd "${PATH_REPOS}"
 ssh ${REPOS_SITE_LOGIN} "cd $REMOTE_PATH_REPOS && ls -1" | while read REPO_NAME; do
     git clone "${REPOS_SITE_LOGIN}:${REMOTE_PATH_REPOS}/${REPO_NAME}"
 done