summaryrefslogtreecommitdiffstats
path: root/src/site
diff options
context:
space:
mode:
authorFlorian Zschocke <f.zschocke+git@gmail.com>2020-04-04 21:34:30 +0200
committerFlorian Zschocke <f.zschocke+git@gmail.com>2020-04-05 12:34:54 +0200
commit275d353f59074f78cfec5786e5989637a5606834 (patch)
treea5826b6cf4d8405eb14f212413cd82a64304c104 /src/site
parent6804cde82ccba5a0765432caa91fb95df01b2026 (diff)
downloadgitblit-275d353f59074f78cfec5786e5989637a5606834.tar.gz
gitblit-275d353f59074f78cfec5786e5989637a5606834.zip
🏃run: Use quotes around class path in scripts
While most systems will not need the class path passed to the JVM with the `-cp` parameter to be in quotes, apparently some exist where that will not work without the quotes, e.g. FreeBSD. So always use quotes for the class path in all scripts. Issue #1333
Diffstat (limited to 'src/site')
-rw-r--r--src/site/federation.mkd2
-rw-r--r--src/site/setup_go.mkd2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/site/federation.mkd b/src/site/federation.mkd
index 231a9f35..b802a087 100644
--- a/src/site/federation.mkd
+++ b/src/site/federation.mkd
@@ -335,6 +335,6 @@ Instead of using `federation.properties` you may directly specify a Gitblit inst
java -cp fedclient.jar;"%CD%/ext/*" com.gitblit.FederationClient --url https://go.gitblit.com --mirror --bare --token 123456789
--repositoriesFolder c:/mymirror
- java -cp fedclient.jar:ext/* com.gitblit.FederationClient --url https://go.gitblit.com --mirror --bare --token 123456789
+ java -cp "fedclient.jar:ext/*" com.gitblit.FederationClient --url https://go.gitblit.com --mirror --bare --token 123456789
--repositoriesFolder /srv/mymirror --daemon --frequency "24 hours"
diff --git a/src/site/setup_go.mkd b/src/site/setup_go.mkd
index 20b4ba48..e0470f31 100644
--- a/src/site/setup_go.mkd
+++ b/src/site/setup_go.mkd
@@ -17,7 +17,7 @@ Open `data/gitblit.properties` in your favorite text editor and make sure to rev
**NOTE:** You can only have **one** SSL certificate specified for a port.
4. exit the authority app
4. Windows: Execute `gitblit.cmd` or `java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.GitBlitServer --baseFolder data` from a command-line
- Linux/OSX: Execute `gitblit.sh` or `java -cp gitblit.jar;ext/* com.gitblit.GitBlitServer --baseFolder data` from a command-line
+ Linux/OSX: Execute `gitblit.sh` or `java -cp "gitblit.jar:ext/*"" com.gitblit.GitBlitServer --baseFolder data` from a command-line
5. Open your browser to <http://localhost:8080> or <https://localhost:8443> depending on your chosen configuration.
6. Enter the default administrator credentials: **admin / admin** and click the *Login* button
**NOTE:** Make sure to change the administrator username and/or password!!