[SCM] Git repository for devscripts branch, master, updated. v2.11.6-18-g1d83778

James McCoy jamessan at debian.org
Sat May 5 16:10:04 UTC 2012


The following commit has been merged in the master branch:
commit 2f71cf39aa2d3693600092526590175804d589d2
Author: Raphael Geissert <atomo64 at gmail.com>
Date:   Mon Feb 14 21:20:00 2011 -0600

    checkbashisms: detect the use of 'setvar'
    
    'setvar' is a built-in from ash that was dropped from dash at some
    point. bash doesn't support it either.

diff --git a/scripts/checkbashisms.pl b/scripts/checkbashisms.pl
index 647a712..2c995cd 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -569,6 +569,7 @@ sub init_hashes {
 	$LEADIN . qr'jobs\s' =>  q<jobs>,
 #	$LEADIN . qr'jobs\s+-[^lp]\s' =>  q<'jobs' with option other than -l or -p>,
 	$LEADIN . qr'command\s+-[^p]\s' =>  q<'command' with option other than -p>,
+	$LEADIN . qr'setvar\s' =>  q<setvar 'foo' 'bar' should be eval \$'foo' 'bar'>,
     );
 
     %string_bashisms = (

-- 
Git repository for devscripts



More information about the Devscripts-devel mailing list