From 0dfe66f1b28ebf3b3b59a935dbe882a5449ce91d Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 9 Jan 2024 16:08:49 -0500 Subject: [PATCH] Fix overzealous reaping of '-lib' folders --- genesis/buildgenesis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genesis/buildgenesis.sh b/genesis/buildgenesis.sh index 680702ef..8e0de608 100644 --- a/genesis/buildgenesis.sh +++ b/genesis/buildgenesis.sh @@ -29,7 +29,7 @@ for lic in $(cat /tmp/tmpliclist); do fname=$(basename $lo) dlo=$(dirname $lo) if [[ "$dlo" == *"-lib"* ]]; then - dlo=${dlo/-*} + dlo=${dlo/-lib*} elif [[ "$dlo" == "device-mapper-"* ]]; then dlo=${dlo/-*}-mapper elif [[ "$dlo" == "bind-"* ]]; then