cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

4924591 Ticket #47511 - bashisms in 389-ds-base admin scripts

Authored and Committed by nhosoi 8 years ago
    Ticket #47511 - bashisms in 389-ds-base admin scripts
    
    Description by mvocu (Thank you):
    The shell scripts in 389-ds-base/ldap/admin/src/scripts use 'source'
    to source common scripts; the 'source' keyword is bash-specific (or
    c-shell, if memory serves). The interpreter is set to /bin/sh, which
    is not guaranteed to be bash (and at least on Debian 7.1 it is dash).
    The 'source' keyword can be replaced by '.', which should work.
    
    The patch was provided by tjaalton@ubuntu.com (Thank you, Timo!).
    
    https://fedorahosted.org/389/ticket/47511
    
    Reviewed and tested by nhosoi@redhat.com.
    
    (cherry picked from commit 2ce7a7334bcb89e47c0f5c544144aec37010a5b9)
    
        
file modified
+2 -2
file modified
+1 -1
file modified
+2 -2
file modified
+1 -1
file modified
+9 -17