Issue Details (XML | Word | Printable)

Key: XX-1503
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Sakeeb S
Reporter: Sakeeb S
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
sipXecs

Use same shell as interpreter in all the scripts.

Created: 2007-02-22 07:24   Updated: 2009-04-24 20:00   Resolved: 2007-02-22 09:00
Component/s: None
Affects Version/s: None
Fix Version/s: 3.8.0

Time Tracking:
Not Specified

File Attachments: 1. Text File sipXconfig.bash.patch (0.7 kB) 2007-02-22 07:24 - Sakeeb S



 Description  « Hide
Most of the scripts in sipx/bin use /bin/bash as the interpreter. But a few ( as listed below ) use /bin/sh as the interpreter. So in systems where /bin/sh and /bin/bash is different, it'll cause some difficutlies like taking different nvironemnt variables

The following are the scripts ( source ) which use /bin/sh as interpreter
bin/bin/ssl-cert/create-ssl-keystore.sh
bin/bin/ssl-cert/create-ssl-truststore.sh

The attached patch "ssipXconfig.bash.patch" will change the above scripts to use /bin/bash as the interpreter

Damian Krzeminski added a comment - 2007-02-22 09:00
http://scm.sipfoundry.org/viewsvn/sipX?view=rev&rev=8874
use bash command shell consistently in all scripts
(applied patch from Sakeeb - thanks)