summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/asn1_deps.pl
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-06-27 12:03:23 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-06-27 12:03:23 +1000
commit7a295c66c056bc6eeb26d2176584fff4152b90b8 (patch)
tree6d18c2cb68f89f36e8085689e282fbf1cbc3e95f /source4/heimdal_build/asn1_deps.pl
parent1e36856ae50762ebad2d16e81b7ad604509b0d52 (diff)
parentd4172dac2c122bc2cf5f419d5687168468a9a141 (diff)
downloadsamba-7a295c66c056bc6eeb26d2176584fff4152b90b8.tar.gz
samba-7a295c66c056bc6eeb26d2176584fff4152b90b8.tar.bz2
samba-7a295c66c056bc6eeb26d2176584fff4152b90b8.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 9607e79c3db9743617397c347bb69f87f6525801)
Diffstat (limited to 'source4/heimdal_build/asn1_deps.pl')
-rwxr-xr-xsource4/heimdal_build/asn1_deps.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/heimdal_build/asn1_deps.pl b/source4/heimdal_build/asn1_deps.pl
index 80334328fc..6b7181c4dd 100755
--- a/source4/heimdal_build/asn1_deps.pl
+++ b/source4/heimdal_build/asn1_deps.pl
@@ -6,7 +6,6 @@
# GPL
use File::Basename;
-use Cwd 'getcwd';
my $file = shift;
my $prefix = shift;
@@ -32,7 +31,7 @@ my $header = "$dirname/$prefix.h";
print "$header: \$(heimdalsrcdir)/$file \$(ASN1C)\n";
print "\t\@echo \"Compiling ASN1 file \$(heimdalsrcdir)/$file\"\n";
-print "\t\@\$(heimdalbuildsrcdir)/asn1_compile_wrapper.sh \$(builddir) $dirname \$(ASN1C) " . getcwd() . "/\$(heimdalsrcdir)/$file $prefix $options\n\n";
+print "\t\@\$(heimdalbuildsrcdir)/asn1_compile_wrapper.sh \$(builddir) $dirname \$(ASN1C) \$(call abspath,\$(heimdalsrcdir)/$file) $prefix $options\n\n";
open(IN,"heimdal/$file") or die("Can't open heimdal/$file: $!");
my @lines = <IN>;