diff options
author | Justin Davis <jrcd83@gmail.com> | 2012-06-01 18:21:10 +0200 |
---|---|---|
committer | Justin Davis <jrcd83@gmail.com> | 2012-06-01 18:21:10 +0200 |
commit | 070171e266bf5cab6647dd4c7d8f0bb7887551b4 (patch) | |
tree | 605b45acfd13ae1953d13fbb12f4db1382fd6254 /preps/perl.d/perl-dist | |
parent | 6b62423d4108c551ce1240926ca14a7e667b71d1 (diff) | |
download | genpkg-070171e266bf5cab6647dd4c7d8f0bb7887551b4.tar.gz genpkg-070171e266bf5cab6647dd4c7d8f0bb7887551b4.tar.xz |
Move scrapecore script. Perl corelist will be bundled now.
The core module list for perl might as well be bundled with genpkg.
The setup script will install it to the proper place. The scrapecore
script will still be included for completeness but shouldn't have to
be used by the user, hopefully.
Diffstat (limited to 'preps/perl.d/perl-dist')
-rwxr-xr-x | preps/perl.d/perl-dist | 10 |
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; |