summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Saner2014-02-14 19:56:09 -0500
committerJason Woodward2014-02-14 19:57:15 -0500
commite88852d89f46f415763fed004ff7318319336e9b (patch)
tree1a80ae511f7a40fd920ddbe9b5d9a6e6e71f748d
parent0b502c941f2a6a974e571475193860a75a89ef2c (diff)
downloadcpan2tgz-e88852d89f46f415763fed004ff7318319336e9b.tar.gz
Fix --destdir option to work with Module::Build::Tiny
Signed-off-by: Jason Woodward <woodwardj@jaos.org>
-rwxr-xr-xcpan2tgz2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan2tgz b/cpan2tgz
index 0af992a..08331d7 100755
--- a/cpan2tgz
+++ b/cpan2tgz
@@ -233,7 +233,7 @@ sub do_package
# install to the package build dir
if ( -f "$pack_dir/Build" ) {
- system("cd $pack_dir && ./Build install destdir=$dest_dir");
+ system("cd $pack_dir && ./Build install --destdir=$dest_dir");
} else {
system("cd $pack_dir && make install DESTDIR=$dest_dir");
}