From 59ee927b61c3f764254cad79d5e5905ea0ca5b02 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Wed, 04 Jan 2012 20:15:09 -0500
Subject: [PATCH] Manually specify which scripts to include in distribution

---
 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 34a11b2..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=Git:Blit, O=Git:Blit, 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