Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32980 - eggdrop-installer script in /usr/portage/net-irc/eggdrop/files/ contains an incorrect variable reference
Summary: eggdrop-installer script in /usr/portage/net-irc/eggdrop/files/ contains an i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High trivial
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-07 17:32 UTC by Matthew Vaughn
Modified: 2003-11-08 05:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for use against net-irc/eggdrop/files/eggdrop-installer (eggdrop-installer.diff,153 bytes, patch)
2003-11-07 17:34 UTC, Matthew Vaughn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Vaughn 2003-11-07 17:32:43 UTC
Line 71 of /usr/portage/net-irc/eggdrop/files/eggdrop-installer contains the
variable reference "$botname" when it should be "$bot_name" resulting in an
incorrect path being displayed when the script completes its operations.

Reproducible: Always
Steps to Reproduce:
1. emerge eggdrop.
2. execute "/usr/bin/eggdrop-installer <bot_name>" as any non-root user
Actual Results:  
The following line is displayed:
 * Please edit your /home/(user)/.eggdrop//eggdrop.conf 

Expected Results:  
 * Please edit your /home/(user)/.eggdrop/(bot_name)/eggdrop.conf 

Please refer to the attached diff file for patching the script.
Comment 1 Matthew Vaughn 2003-11-07 17:34:24 UTC
Created attachment 20405 [details, diff]
Patch for use against net-irc/eggdrop/files/eggdrop-installer
Comment 2 Chuck Short (RETIRED) gentoo-dev 2003-11-08 05:11:30 UTC
Fixed in cvs thanks for the bug report.