[asterisk-bugs] [Asterisk 0010812]: safe_asterisk includes bashisms

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Sep 24 03:20:43 CDT 2007


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=10812 
====================================================================== 
Reported By:                paravoid
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10812
Category:                   Utilities/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             09-24-2007 01:39 CDT
Last Modified:              09-24-2007 03:20 CDT
====================================================================== 
Summary:                    safe_asterisk includes bashisms
Description: 
contrib/scripts/safe_asterisk includes so-called bashims, i.e. shell
features that can only be found on bash and not on the POSIX definition of
shell.

However, the intepreter of that file is /bin/sh which is not guaranteed to
be bash.

Either the bashisms should get removed or the interpreter should be
changed to /bin/bash.
On Debian, we've done the latter, for obvious reasons.
====================================================================== 

---------------------------------------------------------------------- 
 tzafrir - 09-24-07 03:20  
---------------------------------------------------------------------- 
Already fixed in branches/1.4 SVN. interpreter changed to /bin/bash . 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-24-07 03:20  tzafrir        Status                   new => closed       
09-24-07 03:20  tzafrir        Note Added: 0071021                          
======================================================================




More information about the asterisk-bugs mailing list