The following commit has been merged in the master branch:
commit e2f4f6e8494abfa2beda6012253dcd15493451ce
Author: Raphael Geissert <[email protected]>
Date:   Mon May 10 01:06:41 2010 -0500

    checkbashisms: simplify make variables as shell variables
    
    Closes: #535368
    
    Signed-off-by: Raphael Geissert <[email protected]>
    Signed-off-by: James Vega <[email protected]>

diff --git a/scripts/checkbashisms.pl b/scripts/checkbashisms.pl
index 64cccdb..0d0f5c8 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -188,6 +188,7 @@ foreach my $filename (@ARGV) {
            last if m%^(export )?SHELL\s*:?=\s*(/bin/)?bash\s*%;
 
            s/^\t//;
+           s/(?<!\$)\$\((\w+)\)/\${$1}/g;
            s/(\$){2}/$1/;
            s/^[\s\t]*@//;
        }

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to [email protected].

Reply via email to