sipXecs

Use same shell as interpreter in all the scripts.

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 3.8.0
  • Component/s: None
  • Labels:
  • 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
    Show
    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
  1. sipXconfig.bash.patch
    (0.7 kB)
    Sakeeb S
    2007-02-22 07:24

Activity

Hide
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)
 
Show
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)  

People

Dates

  • Created:
    2007-02-22 07:24
    Updated:
    2009-04-24 20:00
    Resolved:
    2007-02-22 09:00