[Home]

Summary:ASTERISK-04520: [patch] "autosupport" script not recognized as such
Reporter:Jérôme Warnier (jwarnier)Labels:
Date Opened:2005-07-05 07:12:05Date Closed:2008-01-15 15:39:48.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) autosupport.dpatch
Description:The script contrib/scripts/autosupport (/usr/sbin/autosupport once
installed) is not recognized as a script because the shebang line is
misplaced.

****** ADDITIONAL INFORMATION ******

Here is a small patch to move it to its logical and useful position.

As there is no bashism in the script, I also changed /bin/bash to /bin/sh.
Comments:By: Kevin P. Fleming (kpfleming) 2005-07-05 10:43:38

Applied to CVS HEAD, although it would have been a good idea to acknowledge where you got the patch from, since it was in the patch header :-)

By: Digium Subversion (svnbot) 2008-01-15 15:39:48.000-0600

Repository: asterisk
Revision: 6021

U   trunk/contrib/scripts/autosupport

------------------------------------------------------------------------
r6021 | kpfleming | 2008-01-15 15:39:48 -0600 (Tue, 15 Jan 2008) | 2 lines

use proper shebang line in autosupport script, at proper location (bug ASTERISK-4520)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=6021