[libinline-java-perl] 196/398: Added portable File::Spec
Jonas Smedegaard
dr at jones.dk
Thu Feb 26 11:43:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.55
in repository libinline-java-perl.
commit 9e440fe9f6f08502e5e2fa0e7a4fb9520afa85e7
Author: patrick_leb <>
Date: Thu Apr 4 14:51:19 2002 +0000
Added portable File::Spec
---
Makefile.PL | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile.PL b/Makefile.PL
index 853f7d9..efbba43 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,11 +1,13 @@
use ExtUtils::MakeMaker ;
use strict ;
+use File::Spec ;
require "Java/Portable.pm" ;
# Replace everything just like out-of-the-box...
-rename("Java/JNI.xs_", "Java/JNI.xs") ;
+my $xs = File::Spec->catfile("Java", "JNI.xs") ;
+rename($xs . "_", "$xs") ;
print "\nWelcome to the Inline::Java installation procedure.\n\n" ;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libinline-java-perl.git
More information about the Pkg-perl-cvs-commits
mailing list