Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 17490 Details for
Bug 27432
python rewrite of distcc-config
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make /etc/distcc/hosts newline terminated. Enhanced Usage.
distcc.patch (text/plain), 1.67 KB, created by
Rob Davies
on 2003-09-11 06:21:47 UTC
(
hide
)
Description:
Make /etc/distcc/hosts newline terminated. Enhanced Usage.
Filename:
MIME Type:
Creator:
Rob Davies
Created:
2003-09-11 06:21:47 UTC
Size:
1.67 KB
patch
obsolete
>RCS file: RCS/distcc-config.py,v >Working file: distcc-config.py >head: 1.2 >branch: >locks: strict >access list: >symbolic names: >keyword substitution: kv >total revisions: 2; selected revisions: 2 >description: >lisa's distcc-config python script http://bugs.gentoo.org/show_bug.cgi?id=27432. >---------------------------- >revision 1.2 >date: 2003/09/11 13:08:23; author: root; state: Exp; lines: +4 -2 >Append newline to /etc/distcc/hosts. >Additional Usage entries, pointer to the distcc guide, upper case U in usage as it's traditional that way. >---------------------------- >revision 1.1 >date: 2003/09/11 11:41:51; author: root; state: Exp; >Initial revision >============================================================================= > >--- distcc-config.py 2003/09/11 11:41:51 1.1 >+++ distcc-config.py 2003/09/11 13:10:42 >@@ -80,7 +80,7 @@ > print 'Current DISTCC_HOSTS:',open('/etc/distcc/hosts', 'r').read() > elif '--set-hosts' in tmpcmdline: > isroot() >- open('/etc/distcc/hosts', 'w').write(cmdline) >+ open('/etc/distcc/hosts', 'w').write(cmdline + '\n') > print 'Set DISTCC_HOSTS to:',cmdline > elif '--get-verbose' in tmpcmdline: > readenv('DISTCC_VERBOSE') >@@ -116,6 +116,8 @@ > permissions('/var/run/distccd/',user,group) > > else: >- print 'usage: /usr/bin/distcc-config --set-hosts DISTCC_HOSTS | --get-hosts' >+ print 'Usage: /usr/bin/distcc-config --set-hosts DISTCC_HOSTS | --get-hosts' > print ' /usr/bin/distcc-config --set-verbose { 0 | 1 } | --get-verbose' > print ' /usr/bin/distcc-config --set-log FILE | --get-log' >+ print ' /usr/bin/distcc-config --install' >+ print 'See the Gentoo distcc Guide at http://www.gentoo.org/doc/en/distcc.xml for further information.'
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 27432
:
16695
|
16792
|
17490
|
18006
|
18852
|
19348