Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#23546 - [trac] /etc/rc.d/tracd generate error wifth multiple AUTH

Attached to Project: Community Packages
Opened by Matthieu (matthieu) - Friday, 01 April 2011, 10:18 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 01 April 2011, 11:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
when using multiple AUTH (in /etc/conf.d/tracd.conf) /etc/rc.d/tracd generate this error :
/etc/rc.d/tracd: line 16: [: too many arguments

this patch fix it :

@@ -7,13 +7,13 @@

DAEMON_NAME=tracd

-if [ -z $PORT ]; then
+if [ -z "$PORT" ]; then
PORT="-p 8080"
else
PORT="-p $PORT"
fi

-if [ -z $AUTH ]; then
+if [ -z "$AUTH" ]; then
AUTH=
else
AUTH="--basic-auth ${AUTH//;/ --basic-auth }"

This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 01 April 2011, 11:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  quotes added

Loading...