diff options
author | Florian Zschocke <f.zschocke+git@gmail.com> | 2020-04-04 21:34:30 +0200 |
---|---|---|
committer | Florian Zschocke <f.zschocke+git@gmail.com> | 2020-04-05 12:34:54 +0200 |
commit | 275d353f59074f78cfec5786e5989637a5606834 (patch) | |
tree | a5826b6cf4d8405eb14f212413cd82a64304c104 /src/site/federation.mkd | |
parent | 6804cde82ccba5a0765432caa91fb95df01b2026 (diff) | |
download | gitblit-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/federation.mkd')
-rw-r--r-- | src/site/federation.mkd | 2 |
1 files changed, 1 insertions, 1 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"
|