From: Matt S Trout Date: Sun, 15 Jul 2012 19:50:51 +0000 (+0000) Subject: use absolute method rather than messing around with rel2abs X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FApp-EzPz.git;a=commitdiff_plain;h=6a99a8c7e0ba1b91f2197dce11bf72aa88f8cda8;hp=fda55d3e18008b847db5b383dc94e3fde8dcdf1e use absolute method rather than messing around with rel2abs --- diff --git a/bin/ezpz-create-test-ezmlm-install b/bin/ezpz-create-test-ezmlm-install index eeabdf6..8d3be21 100755 --- a/bin/ezpz-create-test-ezmlm-install +++ b/bin/ezpz-create-test-ezmlm-install @@ -15,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; diff --git a/bin/ezpz-create-test-ezmlm-list b/bin/ezpz-create-test-ezmlm-list index 06344e1..972b3ca 100755 --- a/bin/ezpz-create-test-ezmlm-list +++ b/bin/ezpz-create-test-ezmlm-list @@ -10,9 +10,9 @@ die "Usage: ezpz-create-test-ezmlm-list ezmlm-bindir list-base-dir list-name" my ($ezmlm_bin_path, $list_base_path, $list_name) = @ARGV; -my $ezmlm_bin = io->dir(io->dir($ezmlm_bin_path)->rel2abs); +my $ezmlm_bin = io->dir($ezmlm_bin_path)->absolute; -my $list_base = io->dir(io->dir($list_base_path)->rel2abs); +my $list_base = io->dir($list_base_path)->absolute; run( $ezmlm_bin->catfile('ezmlm-make'),