| Newsgroups |
perl.cvs.p5ee |
| Message-ID |
<[email protected]> |
cvsuser 05/01/31 05:27:12
Modified: App-Options Build.PL
Log:
trying to get Build.PL working for CPAN shell
Revision Changes Path
1.2 +5 -0 p5ee/App-Options/Build.PL
Index: Build.PL
===================================================================
RCS file: /cvs/public/p5ee/App-Options/Build.PL,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Build.PL 14 Jan 2005 13:55:35 -0000 1.1
+++ Build.PL 31 Jan 2005 13:27:12 -0000 1.2
@@ -1,6 +1,11 @@
use Module::Build;
+# NOTE: If anyone knows why the CPAN shell does "perl Build.PL Build",
+# forcing me to put this next line (hack) in, please let me know.
+# [email protected]
+shift(@ARGV) if ($#ARGV > -1 && $ARGV[0] eq "Build");
+
# Enable the continued use of the PREFIX=$PREFIX option
# (from Makefile.PL and ExtUtils::MakeMaker) by making it
# an alias for the "install_base" option of Module::Build.