X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FApp-EzPz.git;a=blobdiff_plain;f=bin%2Fezpz-create-test-ezmlm-install;h=8d3be2165e805f9c4af469e4d179bc057a0a59a4;hp=e30ab579315d4c4ae760743a967a51b6bcb38339;hb=6a99a8c7e0ba1b91f2197dce11bf72aa88f8cda8;hpb=9ec9210e002a02c473e947cc024e64ef216caba2 diff --git a/bin/ezpz-create-test-ezmlm-install b/bin/ezpz-create-test-ezmlm-install index e30ab57..8d3be21 100755 --- a/bin/ezpz-create-test-ezmlm-install +++ b/bin/ezpz-create-test-ezmlm-install @@ -1,5 +1,6 @@ #!/usr/bin/env perl +use lib (-d 'lib' ? ('lib') : ()); use strictures 1; use IO::All; use Cwd; @@ -14,8 +15,8 @@ my $ezmlm_tarball = io->file(io->file($ezmlm_tarball_path)->rel2abs); my $orig_cwd = io->dir(cwd); -my $build_dir = io->dir(io->dir($build_dir_path)->rel2abs); -my $install_to = io->dir(io->dir($install_to_path)->rel2abs); +my $build_dir = io->dir($build_dir_path)->absolute; +my $install_to = io->dir($install_to_path)->absolute; unless ($build_dir->exists) { $build_dir->mkpath;