From a27ae84eafcf32c3a5a0aac91af575e6be8b63b2 Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Wed, 4 Oct 2006 16:00:51 -0700 Subject: Fix bug in check_config_defines.pl script From: Trent Piepho The code to get the file list from hg manifest wasn't escaped right and the error value check was the opposite of what it should have been. Signed-off-by: Trent Piepho --- v4l/scripts/check_config_defines.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'v4l') diff --git a/v4l/scripts/check_config_defines.pl b/v4l/scripts/check_config_defines.pl index 91643d23c..6d0256dcf 100755 --- a/v4l/scripts/check_config_defines.pl +++ b/v4l/scripts/check_config_defines.pl @@ -12,8 +12,8 @@ if($#ARGV < 0) { $kdir = shift; if($#ARGV < 0) { - @ARGV = `hg manifest | cut "-d " -f3 | grep '.[ch]\$'`; - $? == 0 and die "Error getting manifest: $!"; + @ARGV = `hg manifest | cut "-d " -f3 | grep \\.[ch]\$`; + $? != 0 and die "Error getting manifest: $!"; chomp @ARGV; } -- cgit v1.2.3