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

Authored and Committed by nhosoi 4 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.
    
    Thanks to Rowan Thorpe (rowan@rowanthorpe.com) for providing us the
    patch.
    
    Note: The comment of commit 2ce7a7334bcb89e47c0f5c544144aec37010a5b9
    had an incorrect credit, which is fixed by this commit.
    
    https://fedorahosted.org/389/ticket/47511
    
    Reviewed and tested by nhosoi@redhat.com.
    
    (cherry picked from commit 2ce7a7334bcb89e47c0f5c544144aec37010a5b9)
    (cherry picked from commit b35286b78abffc3ce93db838a0a1c8310b10ff2f)
    
        
file modified
+2 -2
file modified
+1 -1
file modified
+2 -2
file modified
+1 -1
file modified
+9 -17