aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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