summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xv4l/scripts/check_config_defines.pl4
1 files changed, 2 insertions, 2 deletions
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;
}