Show
Ignore:
Timestamp:
16.07.2010 15:20:59 (9 years ago)
Author:
davidb
Message:

Test for version of perl changed to produce correct 'perl-x.xx' directory name for greenstoe/cpan/ location

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/build-src/packages/configure

    r22378 r22414  
    176176echo "" 
    177177cd "$PACKAGES/cpan" 
    178 perl_dir=`echo 'my $vn = $]; $vn =~ s/5\.00(\d).*$/perl-5.$1/; print "$vn" ' | perl` 
     178 
     179perl_dir=`echo 'my $vn = sprintf("%vd", $^V); $vn =~ s/\.\d+?$//; print "perl-$vn";' | perl` 
     180 
    179181gzip -dc XML-Parser-2.34.tar.gz | tar -xf - 
    180182cd "$PACKAGES/cpan/XML-Parser-2.34" && \