aboutsummaryrefslogtreecommitdiff
path: root/t/conflicts.t
diff options
context:
space:
mode:
Diffstat (limited to 't/conflicts.t')
-rwxr-xr-xt/conflicts.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/conflicts.t b/t/conflicts.t
index 07c392cd3..2c2761efb 100755
--- a/t/conflicts.t
+++ b/t/conflicts.t
@@ -2,6 +2,7 @@
# Tests for bugs relating to conflicting files in the srcdir
use warnings;
use strict;
+use Cwd qw(getcwd);
use Test::More tests => 106;
my $installed = $ENV{INSTALLED_TESTS};
@@ -13,10 +14,10 @@ if ($installed) {
}
else {
ok(! system("make -s ikiwiki.out"));
- @command = qw(perl -I. ./ikiwiki.out
+ @command = ("perl", "-I".getcwd, qw(./ikiwiki.out
--underlaydir=underlays/basewiki
--set underlaydirbase=underlays
- --templatedir=templates);
+ --templatedir=templates));
}
# setup