mirror of
https://github.com/fortressforever/git-svn-sync.git
synced 2024-11-24 21:11:28 +00:00
Fix checking for local git server
This commit is contained in:
parent
6537ae771e
commit
7b559f739f
1 changed files with 0 additions and 7 deletions
|
@ -8,8 +8,6 @@
|
|||
#
|
||||
# Required environment variabless:
|
||||
# - GIT_SCRIPTS: directory where the git sync scripts are located
|
||||
# - GIT_BASE: directory where the git repositories are
|
||||
# stored.
|
||||
# - GIT_SVN_SYNC_BASE: directory where the sync repositories are
|
||||
# stored.
|
||||
# - GIT_SVN_SYNC_BRANCH: name of the branch that is synchronized with
|
||||
|
@ -27,11 +25,6 @@ svn_url=${2?No svn url provided}
|
|||
git_url=${3?No git url provided}
|
||||
client=${GIT_SVN_SYNC_BASE}/${project}
|
||||
|
||||
if [ -d $location ] ; then
|
||||
echo "The folder for the git server already exists"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -d $client ] ; then
|
||||
echo "The folder for the git sync client already exists"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue