From: Egbert Teeselink Date: Sun, 3 Feb 2013 17:29:50 +0000 (+0100) Subject: Added support for user-specified command-line parameters to .cmd files X-Git-Tag: v1.3.0~240 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f5e60ba88a28c2df0c9263dd6f999f675fefe4e9;p=gitblit.git Added support for user-specified command-line parameters to .cmd files --- diff --git a/distrib/add-indexed-branch.cmd b/distrib/add-indexed-branch.cmd index e167639a..a7c4451a 100644 --- a/distrib/add-indexed-branch.cmd +++ b/distrib/add-indexed-branch.cmd @@ -17,4 +17,4 @@ @SET FOLDER=c:/gitblit/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% +@java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.AddIndexedBranch --repositoriesFolder %FOLDER% --branch %BRANCH% %EXCLUSIONS% %* diff --git a/distrib/authority.cmd b/distrib/authority.cmd index 75cb0cf7..805815e6 100644 --- a/distrib/authority.cmd +++ b/distrib/authority.cmd @@ -1 +1 @@ -@java -jar authority.jar --baseFolder data +@java -jar authority.jar --baseFolder data %* diff --git a/distrib/gitblit-stop.cmd b/distrib/gitblit-stop.cmd index 5820c491..34f0f4be 100644 --- a/distrib/gitblit-stop.cmd +++ b/distrib/gitblit-stop.cmd @@ -1 +1 @@ -@java -jar gitblit.jar --stop --baseFolder data +@java -jar gitblit.jar --stop --baseFolder data %* diff --git a/distrib/gitblit.cmd b/distrib/gitblit.cmd index 3006a687..1a6d7e09 100644 --- a/distrib/gitblit.cmd +++ b/distrib/gitblit.cmd @@ -1 +1 @@ -@java -jar gitblit.jar --baseFolder data +@java -jar gitblit.jar --baseFolder data %*