From c3077a9e4bd3fd61055a1824946f6f2fb4aec583 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 1 Sep 2007 00:36:01 +0000 Subject: r24860: Make it easier to run selftest.pl in a Samba3 source tree. (This used to be commit 53ec879e3168e9f56e774f0b0d70aeebb3795f8e) --- source4/selftest/output/html.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/selftest/output') diff --git a/source4/selftest/output/html.pm b/source4/selftest/output/html.pm index 79775961c0..c4f94fb6b0 100644 --- a/source4/selftest/output/html.pm +++ b/source4/selftest/output/html.pm @@ -7,6 +7,8 @@ use Exporter; use strict; use warnings; +use FindBin qw($RealBin); + sub new($$$$) { my ($class, $dirname, $statistics) = @_; my $self = { @@ -25,7 +27,7 @@ sub new($$$$) { } }; - link("selftest/output/testresults.css", "$dirname/testresults.css"); + link("$RealBin/output/testresults.css", "$dirname/testresults.css"); open(INDEX, ">$dirname/index.html"); -- cgit