From b57c8ff4400e5f2bd0776247496b34dab68bde97 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 16 Apr 2009 12:06:35 +1000 Subject: Use an absolute path to ensure that we can always regenerate tables.c I had trouble building Samba3 in a merged build, perhaps because I was also building Samba4 in that tree. Andrew Bartlett --- source4/librpc/idl-deps.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4') diff --git a/source4/librpc/idl-deps.pl b/source4/librpc/idl-deps.pl index 4d97139fc5..b3f0451eeb 100644 --- a/source4/librpc/idl-deps.pl +++ b/source4/librpc/idl-deps.pl @@ -1,6 +1,7 @@ #!/usr/bin/perl use strict; use File::Basename; +use Cwd 'abs_path'; sub add($$) { @@ -19,6 +20,7 @@ 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); -- cgit