We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 936b8e2 commit 191291aCopy full SHA for 191291a
OpenGrok
@@ -259,10 +259,10 @@ DefaultInstanceConfiguration()
259
# (the configuration used by Web/GUI interfaces)
260
XML_CONFIGURATION="${OPENGROK_INSTANCE_BASE}/etc/configuration.xml"
261
262
- # OPTIONAL: read only XML config, if it exists, it will be read
+ # OPTIONAL: read only XML configuration
263
READ_XML_CONFIGURATION="${OPENGROK_READ_XML_CONFIGURATION:-}"
264
265
- if [ -f "${READ_XML_CONFIGURATION}" ] ; then
+ if [ -n "${READ_XML_CONFIGURATION}" ] ; then
266
READ_XML_CONF="-R ${READ_XML_CONFIGURATION}"
267
fi
268
0 commit comments