633084 bash scripts: declare and assign separately

Authored and Committed by liutgnu 2 years ago
    bash scripts: declare and assign separately
    
    upstream: fedora
    resolves: bz2003832
    conflict: none
    
    commit 4f75e16700874b2e934fb3b9b85522cf7f36bd04
    Author: Kairui Song <kasong@redhat.com>
    Date:   Wed Aug 18 02:04:45 2021 +0800
    
        bash scripts: declare and assign separately
    
        Declare and assign separately to avoid masking return values:
        https://github.com/koalaman/shellcheck/wiki/SC2155
    
        Signed-off-by: Kairui Song <kasong@redhat.com>
        Acked-by: Philipp Rudo <prudo@redhat.com>
    
    Signed-off-by: Tao Liu <ltao@redhat.com>
    
        
file modified
+15 -7
file modified
+12 -5
file modified
+11 -10
file modified
+1 -1