From b795b83d76b7a044c7d5bafeb8e45eefb1303581 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Mon, 18 Jul 2011 18:09:07 -0400
Subject: [PATCH] Updated MarkdownPapers to 1.1.0.

---
 distrib/makekeystore_jdk.cmd |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/distrib/makekeystore_jdk.cmd b/distrib/makekeystore_jdk.cmd
index 648c8f4..d3c9e94 100644
--- a/distrib/makekeystore_jdk.cmd
+++ b/distrib/makekeystore_jdk.cmd
@@ -1,2 +1,6 @@
+@REM --------------------------------------------------------------------------
+@REM Set HOSTNAME to the server's hostname
+@REM --------------------------------------------------------------------------
+@SET HOSTNAME=localhost
 @del keystore
-@keytool -keystore keystore -alias localhost -genkey -keyalg RSA -dname "CN=localhost, OU=Gitblit, O=Gitblit, L=Some Town, ST=Some State, C=US"
\ No newline at end of file
+@keytool -keystore keystore -alias %HOSTNAME% -genkey -keyalg RSA -dname "CN=%HOSTNAME%, OU=Gitblit, O=Gitblit, L=Some Town, ST=Some State, C=US"
\ No newline at end of file

--
Gitblit v1.9.1