summaryrefslogtreecommitdiffstats
path: root/src/main/distrib/win/reindex-tickets.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/distrib/win/reindex-tickets.cmd')
-rw-r--r--src/main/distrib/win/reindex-tickets.cmd12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/distrib/win/reindex-tickets.cmd b/src/main/distrib/win/reindex-tickets.cmd
index c9116ca2..49eb122e 100644
--- a/src/main/distrib/win/reindex-tickets.cmd
+++ b/src/main/distrib/win/reindex-tickets.cmd
@@ -10,13 +10,13 @@
@REM --------------------------------------------------------------------------
@if [%1]==[] goto nobasefolder
-@java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.ReindexTickets --baseFolder %1
+@java -cp "%~dp0gitblit.jar";"%~dp0ext\*" com.gitblit.ReindexTickets --baseFolder %1
@goto end
:nobasefolder
-@echo "Please specify your baseFolder!"
-@echo
-@echo " reindex-tickets c:/gitblit-data"
-@echo
+@echo Please specify your baseFolder!
+@echo.
+@echo reindex-tickets c:/gitblit-data
+@echo.
-:end \ No newline at end of file
+:end