summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-10-19 20:09:32 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-10-19 20:09:32 +0000
commit71fed0f334b891c1cd3624fcc6739671d2afba4a (patch)
tree749466fe3ab8c690ae55a039ce3d59caddb9833c
parent5c29d617cbe473dc90f773b0af712db7605002c1 (diff)
downloadmediapointer-dvb-s2-71fed0f334b891c1cd3624fcc6739671d2afba4a.tar.gz
mediapointer-dvb-s2-71fed0f334b891c1cd3624fcc6739671d2afba4a.tar.bz2
- Fixed to work with CVS.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
-rw-r--r--v4l/ChangeLog7
-rw-r--r--v4l/scripts/gentree.pl8
2 files changed, 11 insertions, 4 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index fbf185bbd..2784a9400 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,3 +1,10 @@
+2005-10-19 20:05 mchehab
+
+ * ../v4l/scripts/gentree.pl:
+ - Fixed to work with CVS.
+
+ Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
+
2005-10-19 14:39 mchehab
* ../v4l/scripts/gentree.pl:
diff --git a/v4l/scripts/gentree.pl b/v4l/scripts/gentree.pl
index 21076092e..2e7c47950 100644
--- a/v4l/scripts/gentree.pl
+++ b/v4l/scripts/gentree.pl
@@ -9,8 +9,8 @@ my $SRC = shift;
my $DESTDIR = shift;
my $cwd;
-$SRC = "../linux" if !defined($SRC);
$VER = "2.6.14" if !defined($VER);
+$SRC = "../linux" if !defined($SRC);
$DESTDIR = "/tmp/linux" if !defined($DESTDIR);
my ($VERSION,$CODE) = &kernel_version;
@@ -57,7 +57,7 @@ sub filter_source ($$) {
if ($line =~ m/^#include \"compat.h\"/) {
next;
}
- if ($line =~ m/\$Id: gentree.pl,v 1.1 2005/10/19 14:43:56 mchehab Exp $/) {
+ if ($line =~ m/[\$]Id:/) {
next;
}
if ($line =~ /^#ifdef MM_KERNEL/) {
@@ -152,10 +152,10 @@ sub parse_dir {
return;
}
- $srcdir =~ s/(.)/[\]($1)/g;
+ $srcdir =~ s/(.)/\[$1\]/g;
my $f2 = $file;
- $f2 =~ s,^$srcdir,$DESTDIR,;
+ $f2 =~ s,^$srcdir,$cwd/$DESTDIR/,;
print STDERR "from $file to $f2\n";
my $tmp = "/tmp/src.$$";