summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2006-10-04 16:00:51 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2006-10-04 16:00:51 -0700
commita27ae84eafcf32c3a5a0aac91af575e6be8b63b2 (patch)
tree3bb5b568e22ec8d281e85420cec9c8f5606e9b96 /v4l
parent9f41faf13997e37c5dd0ea09e234527add3e431e (diff)
downloadmediapointer-dvb-s2-a27ae84eafcf32c3a5a0aac91af575e6be8b63b2.tar.gz
mediapointer-dvb-s2-a27ae84eafcf32c3a5a0aac91af575e6be8b63b2.tar.bz2
Fix bug in check_config_defines.pl script
From: Trent Piepho <xyzzy@speakeasy.org> 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 <xyzzy@speakeasy.org>
Diffstat (limited to 'v4l')
-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;
}