Nimbin[12]?Mirrors & Forks / jhalfs / commits / 7f939e6

jhalfs git · trunk

jhalfs LFS build automation (mirror)

lfs mirror bash · first commit 2005-09-11 · last commit 2024-02-13 (2 years ago) · synced 3 days ago · upstream: git.linuxfromscratch.org/jhalfs

Python 78.4% Shell 19.8% Makefile 1.8%
git clone https://git.christianimmanuel.de/mirrors-forks/jhalfs.gitwget https://git.christianimmanuel.de/mirrors-forks/jhalfs/archive/jhalfs.tar.gz

packInstall.sh.porg: fix boost case

Pierre Labastie · 2024-02-09 17:28 · 7f939e6bb9a9cb3866d1052133b180ebaf787c27

boost uses now a more conventional version string, so that having a
special case for it is not needed anymore.
 pkgmngt/packInstall.sh.porg | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/pkgmngt/packInstall.sh.porg b/pkgmngt/packInstall.sh.porg
index 7aea2c0..b7f810d 100644
--- a/pkgmngt/packInstall.sh.porg
+++ b/pkgmngt/packInstall.sh.porg
@@ -83,10 +83,6 @@ case $1 in
   junit*|inih*) # can contain -rd.d or just -d.d
     VERSION=$(echo $1 | sed 's/^.*[r-]//')
     ;;
-  boost*) # $1 is of the form boost_1_dd_0. Since sed is greedy, the default
-          # case takes only "0" for VERSION
-    VERSION=$(echo $1 | sed 's/boost_//' | sed 's/_/./g')
-    ;;
   *)
     VERSION=$(echo $1 | sed 's/^.*[-_]\([0-9]\)/\1/' | sed 's/_/./g')
     ;;