4667896 commands/*2pcscmd: emit suitable shell in a shebang

Authored and Committed by jpokorny 3 years ago
    commands/*2pcscmd: emit suitable shell in a shebang
    
    Beside allowing the outputs to be marked executable (and consequently
    run with a correct interpreter), but also to suggest the user which
    shell it should be run with.  This is especially important as
    {ccs,pcs}2pcscmd commands without --noguidance (or --dry-run) switches
    would generate shell code containing process substitutions, which is
    incompatible with generic POSIX shell (also /bin/sh) and the reported
    syntax errors may confuse users.
    
    Resolves: <https: <a="" href="&lt;a href=" http:="" bugzilla.redhat.com"="" rel="nofollow">http://bugzilla.redhat.com" rel="nofollow">bugzilla.redhat.com="" 1381531="">
    Reported-by: Miroslav Lisik <mlisik@redhat.com>
    Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
    
        
file modified
+1 -1
file modified
+1 -1
file modified
+9 -0
file modified
+3 -0
file modified
+9 -0