FreeBSD Bugzilla – Attachment 160921 Details for
Bug 203037
[PATCH] www/trac: single environment variable clash
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
rename variable to avoid clash
trac.patch (text/plain), 1.14 KB, created by
Lapo Luchini
on 2015-09-11 08:17:31 UTC
(
hide
)
Description:
rename variable to avoid clash
Filename:
MIME Type:
Creator:
Lapo Luchini
Created:
2015-09-11 08:17:31 UTC
Size:
1.14 KB
patch
obsolete
>--- /usr/local/etc/rc.d/tracd.orig 2015-09-11 10:11:47.725489000 +0200 >+++ /usr/local/etc/rc.d/tracd 2015-09-11 10:12:22.155740000 +0200 >@@ -20,7 +20,7 @@ > # if not to /var/run/tracd.pid. > # tracd_envdir (str): Directory of the project environments. Set to > # "/home/trac" by default. >-# tracd_env (str): The project environment name while using single >+# tracd_senv (str): The project environment name while using single > # environment mode. The default is empty, meaning > # multiproject mode. > # tracd_args (str): Extra arguments passed to tracd startup >@@ -37,7 +37,7 @@ > tracd_port=${tracd_port:-"80"} > tracd_pidfile=${tracd_pidfile:-"/var/run/tracd.pid"} > tracd_envdir=${tracd_envdir:-"/home/trac"} >-tracd_env=${tracd_env:-""} >+tracd_senv=${tracd_senv:-""} > tracd_args=${tracd_args:-""} > > load_rc_config ${name} >@@ -48,10 +48,10 @@ > required_dirs=${tracd_envdir} > pidfile=${tracd_pidfile} > >-if [ -z "${tracd_env}" ]; then >+if [ -z "${tracd_senv}" ]; then > _trac_env="--env-parent-dir ${tracd_envdir}" > else >- _trac_env="${tracd_envdir}/${tracd_env}" >+ _trac_env="${tracd_envdir}/${tracd_senv}" > command_args="${command_args} --single-env" > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203037
: 160921