Ignore:
Timestamp:
08/25/2016 10:04:30 AM (8 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
new_features
Children:
24e2a6f
Parents:
316db229
Message:

Fix "blfs_root" location in envars.conf, to match initial location
when installing BLFS tools.
Convert package names to lowercase in wrap and pack functions for porg, since
porg does that anyway

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pkgmngt/packInstall.sh.porg

    r316db229 r7bbcce3  
    1414local PACKAGE=$(echo ${TGTPKG} | sed 's/^[0-9]\{3\}-//' |
    1515           sed 's/^[0-9]\{1\}-//')
     16# Porg converts package names to lowercase anyway, so do the conversion
     17# ourselves
     18PACKAGE=${PACKAGE,,}
    1619# version is only accessible from PKGDIR name. Since the format of the
    1720# name is not normalized, several hacks are necessary...
     
    4043           sed 's/^[0-9]\{1\}-//')
    4144local PCKGVRS=$(basename $PKGDIR)
     45# Porg converts package names to lowercase anyway, so do the conversion
     46# ourselves
     47PACKAGE=${PACKAGE,,}
    4248case $PCKGVRS in
    4349  expect*|tcl*) local VERSION=$(echo $PCKGVRS | sed 's/^[^0-9]*//') ;;
Note: See TracChangeset for help on using the changeset viewer.