diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-06-02 11:44:01 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-06-02 11:44:01 -0500 |
commit | 7efa1cdc99dc115425b9eaf3d577376224d05cae (patch) | |
tree | 4253659f65d8b48ca0ba5d50ef2715e6f79bda89 | |
parent | 450cef53f576d797f4211cd944f178587392aa02 (diff) |
Don't use hardcoded versions.
-rw-r--r-- | chapter8/cleanup.sh | 4 |
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 |