diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/distrib/win/add-indexed-branch.cmd | 2 | ||||
-rw-r--r-- | src/main/distrib/win/installService.cmd | 5 | ||||
-rw-r--r-- | src/main/distrib/win/uninstallService.cmd | 3 |
3 files changed, 9 insertions, 1 deletions
diff --git a/src/main/distrib/win/add-indexed-branch.cmd b/src/main/distrib/win/add-indexed-branch.cmd index af540777..25b46383 100644 --- a/src/main/distrib/win/add-indexed-branch.cmd +++ b/src/main/distrib/win/add-indexed-branch.cmd @@ -14,9 +14,11 @@ @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 --------------------------------------------------------------------------
+@SETLOCAL
@SET FOLDER=data/git
@SET EXCLUSIONS=--skip test.git --skip group/test*
@SET BRANCH=default
@PUSHD %~dp0
@java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.AddIndexedBranch --repositoriesFolder %FOLDER% --branch %BRANCH% %EXCLUSIONS% %*
@POPD
+@ENDLOCAL
diff --git a/src/main/distrib/win/installService.cmd b/src/main/distrib/win/installService.cmd index 532c63cd..23d45a46 100644 --- a/src/main/distrib/win/installService.cmd +++ b/src/main/distrib/win/installService.cmd @@ -8,6 +8,8 @@ @REM
@REM http://commons.apache.org/daemon/procrun.html
+@SETLOCAL
+
@REM arch = x86, amd64, or ia32
SET ARCH=amd64
@@ -38,4 +40,5 @@ SET ARCH=amd64 --Classpath="%gbhome%\gitblit.jar;%gbhome%\ext\*" ^
--Jvm=auto ^
--JvmMx=1024
-
\ No newline at end of file +
+@ENDLOCAL
diff --git a/src/main/distrib/win/uninstallService.cmd b/src/main/distrib/win/uninstallService.cmd index a32007e8..6a574d19 100644 --- a/src/main/distrib/win/uninstallService.cmd +++ b/src/main/distrib/win/uninstallService.cmd @@ -1,6 +1,9 @@ +@SETLOCAL
@REM arch = x86, amd64, or ia32
SET ARCH=amd64
@REM Delete the gitblit service
"%~dp0%ARCH%\gitblit.exe" //DS//gitblit
+
+@ENDLOCAL
|