From c81b8e65457ff3e2cce6f4be4ca88df5989ca66c Mon Sep 17 00:00:00 2001 From: James Kinsman Date: Sun, 23 Feb 2020 14:23:30 +0000 Subject: [PATCH] Fix vibs dun goof CD Into the git repo not popd out --- overlay/hooks/entrypoint-pre.d/15_generate_maps.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/overlay/hooks/entrypoint-pre.d/15_generate_maps.sh b/overlay/hooks/entrypoint-pre.d/15_generate_maps.sh index 8bcf3ae..f35e475 100644 --- a/overlay/hooks/entrypoint-pre.d/15_generate_maps.sh +++ b/overlay/hooks/entrypoint-pre.d/15_generate_maps.sh @@ -5,7 +5,7 @@ mkdir -p /data/cachedomains echo "Bootstrapping Monolithic from ${CACHE_DOMAINS_REPO}" export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" -pushd /data/cachedomains > /dev/null +cd /data/cachedomains if [[ ! -d .git ]]; then git clone ${CACHE_DOMAINS_REPO} . fi @@ -19,7 +19,6 @@ if [[ "${NOFETCH:-false}" != "true" ]]; then # Reenable error checking set -e fi -popd > /dev/null TEMP_PATH=$(mktemp -d) OUTPUTFILE=${TEMP_PATH}/outfile.conf