From 4be7d8cd93084a2be3cd85f1d51dcb21af67eccf Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Fri, 28 Feb 2014 13:33:37 -0500
Subject: [PATCH] Fixes to add-indexed-branch scripts
---
src/main/distrib/linux/add-indexed-branch.sh | 8 ++++----
src/main/distrib/win/add-indexed-branch.cmd | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/distrib/linux/add-indexed-branch.sh b/src/main/distrib/linux/add-indexed-branch.sh
index d31f43e..d38fc90 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;"%CD%\ext\*" com.gitblit.AddIndexedBranch --repositoriesFolder $FOLDER% --branch $BRANCH $EXCLUSIONS
\ No newline at end of file
diff --git a/src/main/distrib/win/add-indexed-branch.cmd b/src/main/distrib/win/add-indexed-branch.cmd
index a7c4451..37121ee 100644
--- a/src/main/distrib/win/add-indexed-branch.cmd
+++ b/src/main/distrib/win/add-indexed-branch.cmd
@@ -14,7 +14,7 @@
@REM Set BRANCH ("default" or fully qualified ref - i.e. refs/heads/master)
@REM Set EXCLUSIONS for any repositories that you do not want to change
@REM --------------------------------------------------------------------------
-@SET FOLDER=c:/gitblit/git
+@SET FOLDER=data/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% %*
--
Gitblit v1.9.1