diff options
author | Richard Jones <rjones@redhat.com> | 2010-01-28 10:01:09 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-01-28 10:01:13 +0000 |
commit | 1ac5894a33e6cea70689943e5b5e3e934eb53eee (patch) | |
tree | 1dd1f634e88c2e331dfc53a9b37ebaa614d2bbd3 /febootstrap-to-supermin.sh | |
parent | fe303d0d2176ac5a7aa8b49082ca81e9d544fd61 (diff) | |
download | febootstrap-1ac5894a33e6cea70689943e5b5e3e934eb53eee.tar.gz febootstrap-1ac5894a33e6cea70689943e5b5e3e934eb53eee.tar.xz febootstrap-1ac5894a33e6cea70689943e5b5e3e934eb53eee.zip |
supermin: Backport special case handling of libgcc_s.
This is a port of
http://git.annexia.org/?p=libguestfs.git;a=commit;h=dab98a0e52b9bb9930048b94d637a2fdb218fc45
Diffstat (limited to 'febootstrap-to-supermin.sh')
-rwxr-xr-x | febootstrap-to-supermin.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/febootstrap-to-supermin.sh b/febootstrap-to-supermin.sh index 7a2b48b..3d79ca5 100755 --- a/febootstrap-to-supermin.sh +++ b/febootstrap-to-supermin.sh @@ -107,6 +107,10 @@ while read path <&7; do elif [[ "$file" =~ '^libbfd-.*\.so$' ]]; then echo "$dir/libbfd-*.so" >&6 + # Special case for libgcc_s-<gccversion>-<date>.so.N + elif [[ "$file" =~ '^libgcc_s-.*\.so\.([0-9]+)$' ]]; then + echo "$dir/libgcc_s-*.so.${BASH_REMATCH[1]}" >&6 + # libfoo-1.2.3.so elif [[ "$file" =~ '^lib(.*)-[-.0-9]+\.so$' ]]; then echo "$dir/lib${BASH_REMATCH[1]}-*.so" >&6 |