Compare commits

..

1 Commits

Author SHA1 Message Date
3fc9e51893 POST-Deploying multiple jekyll sites at once 2018-12-05 23:40:59 -05:00
2 changed files with 5 additions and 5 deletions

View File

@@ -33,8 +33,8 @@ GIT_REPO="$(pwd)"
TMP_GIT_CLONE="/tmp/${GIT_REPO##*/}" TMP_GIT_CLONE="/tmp/${GIT_REPO##*/}"
# clone the bare repo into temp working dir # clone the bare repo into temp working dir
if [ ! -d "${TMP_GIT_CLONE}" ]; then if [ ! -d "{$TMP_GIT_CLONE}" ]; then
git clone "${GIT_REPO}" "${TMP_GIT_CLONE}" git clone "${GIT_REPO}" "$TMP_GIT_CLONE"
cd "${TMP_GIT_CLONE}" cd "${TMP_GIT_CLONE}"
else else
cd "${TMP_GIT_CLONE}" cd "${TMP_GIT_CLONE}"
@@ -69,7 +69,7 @@ Example:
GIT_REPO="$(pwd)" GIT_REPO="$(pwd)"
TMP_GIT_CLONE="/tmp/${GIT_REPO##*/}" TMP_GIT_CLONE="/tmp/${GIT_REPO##*/}"
if [ ! -d "${TMP_GIT_CLONE}" ]; then if [ ! -d "{$TMP_GIT_CLONE}" ]; then
git clone "${GIT_REPO}" "${TMP_GIT_CLONE}" git clone "${GIT_REPO}" "${TMP_GIT_CLONE}"
cd "${TMP_GIT_CLONE}" cd "${TMP_GIT_CLONE}"
else else

View File

@@ -5,8 +5,8 @@
GIT_REPO="$(pwd)" GIT_REPO="$(pwd)"
TMP_GIT_CLONE="/tmp/${GIT_REPO##*/}" TMP_GIT_CLONE="/tmp/${GIT_REPO##*/}"
if [ ! -d "${TMP_GIT_CLONE}" ]; then if [ ! -d "{$TMP_GIT_CLONE}" ]; then
git clone "${GIT_REPO}" "${TMP_GIT_CLONE}" git clone "${GIT_REPO}" "$TMP_GIT_CLONE"
cd "${TMP_GIT_CLONE}" cd "${TMP_GIT_CLONE}"
else else
cd "${TMP_GIT_CLONE}" cd "${TMP_GIT_CLONE}"