summaryrefslogtreecommitdiffstats
path: root/preps/perl.d/perl-dist
diff options
context:
space:
mode:
Diffstat (limited to 'preps/perl.d/perl-dist')
-rwxr-xr-xpreps/perl.d/perl-dist10
1 files changed, 4 insertions, 6 deletions
diff --git a/preps/perl.d/perl-dist b/preps/perl.d/perl-dist
index 05269f3..c465b03 100755
--- a/preps/perl.d/perl-dist
+++ b/preps/perl.d/perl-dist
@@ -330,16 +330,14 @@ sub _nocore
{
my(@mods) = @_;
- my $cmpath = _vardir() . '/coremods';
+ my $cmpath = _vardir() . '/perlcore.mods';
unless(-f $cmpath){
- my $scpath = ($ENV{'PREPSPATH'}
- ? "$ENV{'PREPSPATH'}/perl.d/scrapecore"
- : q{genpkg's preps/perl.d/scrapecore});
print STDERR <<"END_ERR";
$PROG: error: $cmpath is missing.
******************************************************************************
- You must generate it with $scpath.
- Run it against the version of perl that is the official package.
+ This file should have been installed along with genpkg. Copy the file from
+ genpkg's source or generate it with the misc/perlcore script in genpkg's
+ source. Make sure to use the same version as the perl you are using.
******************************************************************************
END_ERR
exit 1;