summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-04-16 12:06:35 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-04-16 12:06:35 +1000
commitb57c8ff4400e5f2bd0776247496b34dab68bde97 (patch)
tree6bb0a0e039ba8478d0c3895dbabc8c66b602eba7 /source4
parentfa37dbf96024482e3b1a0269a940b6e722d550e4 (diff)
downloadsamba-b57c8ff4400e5f2bd0776247496b34dab68bde97.tar.gz
samba-b57c8ff4400e5f2bd0776247496b34dab68bde97.tar.bz2
samba-b57c8ff4400e5f2bd0776247496b34dab68bde97.zip
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
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl-deps.pl2
1 files changed, 2 insertions, 0 deletions
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);