[Bug 707365] Re: syntax error in /usr/share/awstats/tools/buildstatic.sh

James Page 707365 at bugs.launchpad.net
Thu Jan 27 14:29:26 UTC 2011


** Description changed:

+ IMPACT:
+ awstats users on Maverick are not be able to build static HTML reports from awstats data.  
+ 
+ FIX:
+ Amend minor bashism in buildstatic.sh (Debian/Ubuntu specific script)
+    The == needs to be a = on line 27.
+ 
+ TEST:
+ 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-3ubuntu0.1
  ProcVersionSignature: Ubuntu 2.6.35-25.43-generic 2.6.35.10
  Uname: Linux 2.6.35-25-generic i686
  Architecture: i386
  Date: Tue Jan 25 03:48:17 2011
  PackageArchitecture: all
  ProcEnviron:
-  PATH=(custom, user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/sh
+  PATH=(custom, user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/sh
  SourcePackage: awstats

** Description changed:

  IMPACT:
- awstats users on Maverick are not be able to build static HTML reports from awstats data.  
+ 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.
+    The == needs to be a = on line 27.
  
  TEST:
  Run buildstatic.sh pre-fix:
-    [: 27: yes: unexpected operator
+    [: 27: yes: unexpected operator
  Run buildstatic.sh post-fix:
-    Runs cleanly
+    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-3ubuntu0.1
  ProcVersionSignature: Ubuntu 2.6.35-25.43-generic 2.6.35.10
  Uname: Linux 2.6.35-25-generic i686
  Architecture: i386
  Date: Tue Jan 25 03:48:17 2011
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/sh
  SourcePackage: awstats

** Description changed:

  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:
+ 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-3ubuntu0.1
  ProcVersionSignature: Ubuntu 2.6.35-25.43-generic 2.6.35.10
  Uname: Linux 2.6.35-25-generic i686
  Architecture: i386
  Date: Tue Jan 25 03:48:17 2011
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/sh
  SourcePackage: awstats

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to awstats in ubuntu.
https://bugs.launchpad.net/bugs/707365

Title:
  syntax error in /usr/share/awstats/tools/buildstatic.sh



More information about the Ubuntu-server-bugs mailing list