Changeset ff5c301 for pkgmngt


Ignore:
Timestamp:
12/19/2021 04:30:10 PM (2 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, legacy, trunk
Children:
b734bfb
Parents:
dd9ca56
git-author:
Pierre Labastie <pierre.labastie@…> (12/19/2021 04:22:24 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (12/19/2021 04:30:10 PM)
Message:

Treat the case of boost in packInstall.sh.porg

The default VERSION returned is always "0". Create
a special case to prevent that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pkgmngt/packInstall.sh.porg

    rdd9ca56 rff5c301  
    7979    VERSION=$(echo $1 | sed 's/^.*[r-]//')
    8080    ;;
     81  boost*) # $1 is of the form boost_1_dd_0. Since sed is greedy, the default
     82          # case takes only "0" for VERSION
     83    VERSION=$(echo $1 | sed 's/boost_//' | sed 's/_/./g')
     84    ;;
    8185  *)
    8286    VERSION=$(echo $1 | sed 's/^.*[-_]\([0-9]\)/\1/' | sed 's/_/./g')
Note: See TracChangeset for help on using the changeset viewer.