aboutsummaryrefslogtreecommitdiff
path: root/roles/git/files/runner-mirror
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-02-13 00:38:12 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-02-13 00:38:12 +0100
commit10386c5e85154f94974b59e0f1c23f4302bde90e (patch)
treede4fe982fcba13c7c52115c4e63afa21c137282a /roles/git/files/runner-mirror
parent816290533fd61a1c5f3813b0115a1e2bbeeef1a2 (diff)
downloadansible-memzero-10386c5e85154f94974b59e0f1c23f4302bde90e.tar.gz
ansible-memzero-10386c5e85154f94974b59e0f1c23f4302bde90e.zip
git: replace pushd -> cd in zola runner
Diffstat (limited to 'roles/git/files/runner-mirror')
-rwxr-xr-xroles/git/files/runner-mirror/mirror.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/git/files/runner-mirror/mirror.sh b/roles/git/files/runner-mirror/mirror.sh
index a517b86..0aade9d 100755
--- a/roles/git/files/runner-mirror/mirror.sh
+++ b/roles/git/files/runner-mirror/mirror.sh
@@ -25,7 +25,7 @@ function lock() {
lock
mkdir -p mirrors
-pushd mirrors
+cd mirrors
for R in $(cat /projects.list | awk -F '/' '/mirror/ { print $2 }'); do
echo "==> REPO: $R"