aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-06-02 11:44:01 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-06-02 11:44:39 -0500
commitdd19bb017278a95d28b2fe12f11be60ac5ae7d31 (patch)
tree7ce5bafa046ccee3f2bebc4f84f39cce8c82b78a
parent2d7505db2262a275b9dbf0d020afd6bed2fbd753 (diff)
Don't use hardcoded versions.
-rw-r--r--chapter8/cleanup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter8/cleanup.sh b/chapter8/cleanup.sh
index 12bbae4..9ca1b07 100644
--- a/chapter8/cleanup.sh
+++ b/chapter8/cleanup.sh
@@ -26,7 +26,7 @@ else
#sudo rm -rfv "${LFS}"/usr/share/man
# Place debugging symbols for selected libraries in seprate files
- save_lib="ld-2.33.so libc-2.33.so libpthread-2.33.so libthread_db-1.0.so"
+ save_lib="ld-?.*.so libc-?.*.so libpthread-?.*.so libthread_db-?.?.so"
pushd "${LFS}"/lib || exit 1
for LIB in $save_lib; do
@@ -37,7 +37,7 @@ else
popd || exit 1
- save_usrlib="libquadmath.so.0.0.0 libstdc++.so.6.0.28 libitm.so.1.0.0 libatomic.so.1.2.0"
+ save_usrlib="libquadmath.so.?.?.? libstdc++.so.?.?.* libitm.so.?.?.? libatomic.so.?.?.?"
pushd "${LFS}"/usr/lib || exit 1