Show
Ignore:
Timestamp:
09.10.2015 13:15:04 (4 years ago)
Author:
jmt12
Message:

Ensure the perl/cpan install directories exist before trying to copy into them - they may not in a fresh check-out

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE/CPAN.sh

    • Property svn:mime-type deleted
    r27488 r30282  
    66source ../cascade-make/lib/cascade-lib-modulebuild.bash GEXTPARALLELBUILDING $* 
    77 
    8 base=$GEXTPARALLELBUILDING 
    9 prefix=$GEXTPARALLELBUILDING_INSTALLED 
    10 perlversion=$PERL_VERSION 
     8base="${GEXTPARALLELBUILDING}" 
     9prefix="${GEXTPARALLELBUILDING_INSTALLED}" 
     10perlversion="${PERL_VERSION}" 
    1111perlinstall="${prefix}/lib/perl/${perlversion}" 
     12 
     13if [ ! -d "${perlinstall}" ] 
     14then 
     15    mkdir -p "${perlinstall}" 
     16fi 
    1217 
    1318# You can use a list should you need to force precedence