Compare commits
1 Commits
9142671e4e
...
3fc9e51893
| Author | SHA1 | Date | |
|---|---|---|---|
| 3fc9e51893 |
@@ -33,8 +33,8 @@ GIT_REPO="$(pwd)"
|
||||
TMP_GIT_CLONE="/tmp/${GIT_REPO##*/}"
|
||||
|
||||
# clone the bare repo into temp working dir
|
||||
if [ ! -d "${TMP_GIT_CLONE}" ]; then
|
||||
git clone "${GIT_REPO}" "${TMP_GIT_CLONE}"
|
||||
if [ ! -d "{$TMP_GIT_CLONE}" ]; then
|
||||
git clone "${GIT_REPO}" "$TMP_GIT_CLONE"
|
||||
cd "${TMP_GIT_CLONE}"
|
||||
else
|
||||
cd "${TMP_GIT_CLONE}"
|
||||
@@ -69,7 +69,7 @@ Example:
|
||||
GIT_REPO="$(pwd)"
|
||||
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}"
|
||||
cd "${TMP_GIT_CLONE}"
|
||||
else
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
GIT_REPO="$(pwd)"
|
||||
TMP_GIT_CLONE="/tmp/${GIT_REPO##*/}"
|
||||
|
||||
if [ ! -d "${TMP_GIT_CLONE}" ]; then
|
||||
git clone "${GIT_REPO}" "${TMP_GIT_CLONE}"
|
||||
if [ ! -d "{$TMP_GIT_CLONE}" ]; then
|
||||
git clone "${GIT_REPO}" "$TMP_GIT_CLONE"
|
||||
cd "${TMP_GIT_CLONE}"
|
||||
else
|
||||
cd "${TMP_GIT_CLONE}"
|
||||
|
||||
Reference in New Issue
Block a user