diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-03 16:19:46 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-03 16:31:03 +0100 |
commit | 388da7ca97b86aef9e344c2259d0d910dd0659d5 (patch) | |
tree | 661fd56c3bd156bedbd2e00ade97f6c671a1a4f8 /selftest | |
parent | e2aab39e560dc395fe8aba53ffd6fc42b025aa36 (diff) | |
download | samba-388da7ca97b86aef9e344c2259d0d910dd0659d5.tar.gz samba-388da7ca97b86aef9e344c2259d0d910dd0659d5.tar.bz2 samba-388da7ca97b86aef9e344c2259d0d910dd0659d5.zip |
selftest: export BUILDDIR, BUILDDIR_ABS and EXEEXT
metze
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/selftest.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl index f6561cc8c7..0be2e78de3 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -394,6 +394,7 @@ mkdir($prefix, 0777) unless -d $prefix; my $prefix_abs = abs_path($prefix); my $srcdir_abs = abs_path($srcdir); +my $builddir_abs = abs_path($builddir); die("using an empty absolute prefix isn't allowed") unless $prefix_abs ne ""; die("using '/' as absolute prefix isn't allowed") unless $prefix_abs ne "/"; @@ -403,6 +404,9 @@ $ENV{KRB5CCNAME} = "$prefix/krb5ticket"; $ENV{PREFIX_ABS} = $prefix_abs; $ENV{SRCDIR} = $srcdir; $ENV{SRCDIR_ABS} = $srcdir_abs; +$ENV{BUILDDIR} = $builddir; +$ENV{BUILDDIR_ABS} = $builddir_abs; +$ENV{EXEEXT} = $exeext; if (defined($ENV{RUN_FROM_BUILD_FARM}) and ($ENV{RUN_FROM_BUILD_FARM} eq "yes")) { |