perl: Have perl's major version number in one central place

This will simplify updating the package in the future.

Signed-off-by: Marcel Denia <naoir@gmx.net>
This commit is contained in:
Marcel Denia
2015-06-09 21:31:26 +02:00
parent 23bd12a89a
commit 273d4bd6a7
3 changed files with 22 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
PERL_TESTSDIR="/usr/share/perl/perl-tests"
PERL_LIBDIR="/usr/lib/perl5/5.20/"
PERL_LIBDIR="/usr/lib/perl5/%%PERL_VERSION%%/"
PERL_DISABLEDTESTS="%%PERL_DISABLEDTESTS%%"
if [ ! -f "$PERL_TESTSDIR/__prepared" ]; then