mirror of
https://github.com/lancachenet/monolithic
synced 2024-11-21 19:43:05 +00:00
Fix vibs dun goof
CD Into the git repo not popd out
This commit is contained in:
parent
71ad35816c
commit
c81b8e6545
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,7 @@ mkdir -p /data/cachedomains
|
||||||
echo "Bootstrapping Monolithic from ${CACHE_DOMAINS_REPO}"
|
echo "Bootstrapping Monolithic from ${CACHE_DOMAINS_REPO}"
|
||||||
|
|
||||||
export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
||||||
pushd /data/cachedomains > /dev/null
|
cd /data/cachedomains
|
||||||
if [[ ! -d .git ]]; then
|
if [[ ! -d .git ]]; then
|
||||||
git clone ${CACHE_DOMAINS_REPO} .
|
git clone ${CACHE_DOMAINS_REPO} .
|
||||||
fi
|
fi
|
||||||
|
@ -19,7 +19,6 @@ if [[ "${NOFETCH:-false}" != "true" ]]; then
|
||||||
# Reenable error checking
|
# Reenable error checking
|
||||||
set -e
|
set -e
|
||||||
fi
|
fi
|
||||||
popd > /dev/null
|
|
||||||
|
|
||||||
TEMP_PATH=$(mktemp -d)
|
TEMP_PATH=$(mktemp -d)
|
||||||
OUTPUTFILE=${TEMP_PATH}/outfile.conf
|
OUTPUTFILE=${TEMP_PATH}/outfile.conf
|
||||||
|
|
Loading…
Reference in a new issue