Revert "Use an absolute path to ensure that we can always regenerate tables.c"
authorStefan Metzmacher <metze@samba.org>
Tue, 21 Apr 2009 13:33:53 +0000 (15:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 21 Apr 2009 13:37:36 +0000 (15:37 +0200)
This reverts commit b57c8ff4400e5f2bd0776247496b34dab68bde97.

This actually breaks the merged build...
Doing a merged build and a samba4 build within the same
checkout, without a git clean -x -d -f (this removes everything that's
not checked into git! save files you don't want to delete!) running in the
toplevel directory, is not supported.

metze

source4/librpc/idl-deps.pl

index b3f0451eebb05e162b920bbe5247b2a6d31f6783..4d97139fc581551b809fd75f611cf9027b2abef4 100644 (file)
@@ -1,7 +1,6 @@
 #!/usr/bin/perl
 use strict;
 use File::Basename;
-use Cwd 'abs_path';
 
 sub add($$)
 {
@@ -20,7 +19,6 @@ foreach(@ARGV) {
 
        my $gen_ndr = dirname($f);
        $gen_ndr =~ s/\/idl$/\/gen_ndr/;
-        $gen_ndr = abs_path($gen_ndr);
 
        print "# $f\n";
        add("IDL_FILES", $f);