die "Usage: ezpz-create-test-ezmlm-install ezmlm-source.tgz build-dir install-dir"
unless @ARGV == 3;
-my ($ezmlm_tarball, $build_dir_path, $install_to_path) = @ARGV;
+my ($ezmlm_tarball_path, $build_dir_path, $install_to_path) = @ARGV;
+
+my $ezmlm_tarball = io->file(io->file($ezmlm_tarball_path)->rel2abs);
my $orig_cwd = io->dir(cwd);
unless ($build_dir->exists) {
$build_dir->mkpath;
$build_dir->chdir;
- run 'tar', '-xzf', $ezmlm_tarball;
+ run 'tar', 'xzf', $ezmlm_tarball;
$orig_cwd->chdir;
}