| | |
| | | [[ -x "$PERL" ]] || usage "perl $PERLVER not found" |
| | | PERL_ARCH=$($PERL -e 'use Config; print $Config{archname}') |
| | | |
| | | (($# != 0)) && usage "Too much arguments" |
| | | (($# != 0)) && usage "Too many arguments" |
| | | |
| | | PERL_VERSION_CONVERT="$(dirname $0)/perl-version-convert" |
| | | [[ ! -x "$PERL_VERSION_CONVERT" ]] && printf "ERROR: perl-version-convert not found" && exit 1 |
| | |
| | | |
| | | # Resolve the dependency if not in cache already |
| | | if [[ ! -s "$CACHEDIR/$PREREQ" ]] ; then |
| | | MANIFEST="$BUILD_DIR/META-${PREREQ//::/-}" |
| | | MANIFEST="$BUILD_DIR/META-$PREREQ" |
| | | |
| | | # Prepare manifest |
| | | if [[ "$PREREQ" == "perl" ]] ; then |