| ... | ... |
@@ -315,7 +315,7 @@ function git_clone {
|
| 315 | 315 |
git checkout $GIT_BRANCH |
| 316 | 316 |
elif [[ "$RECLONE" == "yes" ]]; then |
| 317 | 317 |
# if it does exist then simulate what clone does if asked to RECLONE |
| 318 |
- cd $GIT_BRANCH |
|
| 318 |
+ cd $GIT_DEST |
|
| 319 | 319 |
# set the url to pull from and fetch |
| 320 | 320 |
git remote set-url origin $GIT_REMOTE |
| 321 | 321 |
git fetch origin |