27a8c7a Fix handling of files without newlines in brp-mangle-shebang

Authored and Committed by lbalhar 3 years ago
    Fix handling of files without newlines in brp-mangle-shebang
    
    If the file we are trying to mangle a shebang in has
    0 lines (as reported by `wc`) `read` command fails
    to read the first line and the script fails silently.
    
    Text files without newlines should not be executable as there
    is no way for them to contain a shebang.
    
        
file modified
+8 -1
file modified
+4 -1