Bug 212965

Summary: /usr/share/awstats/tools/logresolvemerge.pl contains DOS linebreaks
Product: [Fedora] Fedora Reporter: Ralf Ertzinger <redhat-bugzilla>
Component: awstatsAssignee: Aurelien Bompard <gauret>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-30 14:17:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ralf Ertzinger 2006-10-30 12:26:27 UTC
Description of problem:
/usr/share/awstats/tools/logresolvemerge.pl (and maybe other files as well, did
not check) contain DOS style linebreaks (i.e. \r\n instead of \n), which leads
to a strange error message when trying to execute this file directly, because
the shell tries to find an executable named "/usr/bin/perl\r", which does not
exist, of course.

Version-Release number of selected component (if applicable):
awstats-6.6-0.2.beta.fc6

How reproducible:
Always

Steps to Reproduce:
1. Install awstats
2. Try to run /usr/share/awstats/tools/logresolvemerge.pl from the shell
3.
  
Actual results:
Mangled error message about nonexisting interpreter

Expected results:
Program runs

Additional info:

Comment 1 Aurelien Bompard 2006-10-30 14:17:41 UTC
Thanks, fixed in devel, FC-6 and FC-5.