From c332d9a3d4d9485cfe60fb8dd9db7dbde971642c Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Tue, 10 Nov 2015 08:58:35 -0500
Subject: [PATCH] Do not display fork button if target repo already exists (fixes #944)

---
 src/main/distrib/linux/add-indexed-branch.sh |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/distrib/linux/add-indexed-branch.sh b/src/main/distrib/linux/add-indexed-branch.sh
index d31f43e..0d29e5d 100644
--- a/src/main/distrib/linux/add-indexed-branch.sh
+++ b/src/main/distrib/linux/add-indexed-branch.sh
@@ -15,7 +15,7 @@
 # Set BRANCH ("default" or fully qualified ref - i.e. refs/heads/master)
 # Set EXCLUSIONS for any repositories that you do not want to change
 # --------------------------------------------------------------------------
-SET FOLDER=git
-SET EXCLUSIONS=--skip test.git --skip group/test*
-SET BRANCH=default
-java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.AddIndexedBranch --repositoriesFolder %FOLDER% --branch %BRANCH% %EXCLUSIONS%
\ No newline at end of file
+FOLDER=data/git
+EXCLUSIONS=--skip test.git --skip group/test*
+BRANCH=default
+java -cp gitblit.jar:"ext/*" com.gitblit.AddIndexedBranch --repositoriesFolder $FOLDER --branch $BRANCH $EXCLUSIONS

--
Gitblit v1.9.1