syntax error in /usr/share/awstats/tools/buildstatic.sh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
awstats (Debian) |
Fix Released
|
Unknown
|
|||
awstats (Ubuntu) |
Fix Released
|
Low
|
James Page | ||
Maverick |
Fix Released
|
Low
|
Unassigned |
Bug Description
IMPACT:
awstats users on Maverick are not be able to build static HTML reports from awstats data. This normally runs automatically overnight.
FIX:
Amend minor bashism in buildstatic.sh (Debian/Ubuntu specific script)
The == needs to be a = on line 27.
TEST CASE:
Run buildstatic.sh pre-fix:
[: 27: yes: unexpected operator
Run buildstatic.sh post-fix:
Runs cleanly
REGRESSION POTENTIAL:
This script is currently not functional in Maverick so regression potential is limited.
== ORIGINAL BUG REPORT ==
Binary package hint: awstats
[: 27: yes: unexpected operator
The == needs to be a = on line 27.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: awstats 6.9.5~dfsg-
ProcVersionSign
Uname: Linux 2.6.35-25-generic i686
Architecture: i386
Date: Tue Jan 25 03:48:17 2011
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/sh
SourcePackage: awstats
Related branches
- Chuck Short (community): Approve
-
Diff: 26 lines (+7/-1)2 files modifieddebian/buildstatic.sh (+1/-1)
debian/changelog (+6/-0)
description: | updated |
description: | updated |
description: | updated |
Changed in awstats (Ubuntu): | |
milestone: | none → maverick-updates |
milestone: | maverick-updates → none |
status: | Confirmed → In Progress |
importance: | Low → Medium |
importance: | Medium → Low |
Changed in awstats (Ubuntu Maverick): | |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in awstats (Debian): | |
status: | Unknown → Fix Released |
tags: | added: testcase |
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:
* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?
This will help us to find and resolve the problem.