use absolute method rather than messing around with rel2abs
Matt S Trout [Sun, 15 Jul 2012 19:50:51 +0000 (19:50 +0000)]
bin/ezpz-create-test-ezmlm-install
bin/ezpz-create-test-ezmlm-list

index eeabdf6..8d3be21 100755 (executable)
@@ -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;
index 06344e1..972b3ca 100755 (executable)
@@ -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'),