Skip to content

Commit 074511f

Browse files
committed
Fix for -w argument to be compliant with Tomcat documentation
1 parent 1c58973 commit 074511f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

OpenGrok

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# CDDL HEADER END
1919

2020
#
21-
# Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
21+
# Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
2222
# Portions Copyright (c) 2017-2018, Chris Fraire <[email protected]>.
2323
#
2424

@@ -133,6 +133,8 @@ Supported Environment Variables for configuring the default setup:
133133
(by default 3 directories from SRC_ROOT)
134134
- OPENGROK_WEBAPP_CFGADDR Web app address to send configuration to
135135
(use "none" to avoid sending it to web app)
136+
- OPENGROK_WEBAPP_CONTEXT Context URL of the OpenGrok webapp
137+
(by default /source).
136138
- OPENGROK_WPREFIX Disable wildcard prefix search query support (*)
137139
- OPENGROK_TAG Enable parsing of revision tags into the History
138140
view
@@ -987,7 +989,7 @@ DeployWar()
987989
FINAL_WAR_NAME="source"
988990
if [ "$applicationServer" = "Tomcat" ]
989991
then
990-
if [ ! -z ${OPENGROK_WEBAPP_CONTEXT+x} ]
992+
if [ ! -z ${OPENGROK_WEBAPP_CONTEXT+x} ] # OPENGROK_WEBAPP_CONTEXT is set
991993
then
992994
APP_CONTEXT="${OPENGROK_WEBAPP_CONTEXT}"
993995

0 commit comments

Comments
 (0)