fix bashism to be portable #77842 by Brad House
authorMike Frysinger <vapier@gentoo.org>
Sat, 15 Jan 2005 00:17:12 +0000 (00:17 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 15 Jan 2005 00:17:12 +0000 (00:17 +0000)
Package-Manager: portage-2.0.51-r12

sys-devel/libtool/Manifest
sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch

index ee33ff66f71ea4d1764949f8ee43edda4c53038e..1a3b45cd4e87f0c5f8a3a27ed1c3d6c11abfbb9c 100644 (file)
@@ -32,7 +32,7 @@ MD5 94591cd9fb847704a323c0faf31fdbf2 files/1.4.3/libtool-1.4.3-ltmain-SED.patch
 MD5 a9be6866b7096092613595ccff0fd773 files/1.4.3/libtool-1.4.3-pass-thread-flags.patch 494
 MD5 c4fd959743953818fe6ab06c7d84e795 files/1.4.3/libtool-1.4.3-quotes.patch 12951
 MD5 5fc838faf61964397b525e579783c190 files/1.4.3/libtool-1.4.3-uclibc.patch 5911
-MD5 e9bbbf33e0ca9ed566c2bf5209265cfe files/1.5.6/libtool-1.5-filter-host-tags.patch 785
+MD5 156cac6117d0d22e752b18b2f40728d1 files/1.5.6/libtool-1.5-filter-host-tags.patch 806
 MD5 5e84c0a07a77ed6408b25453373914ab files/1.5.6/libtool-1.5.6-ltmain-SED.patch 431
 MD5 ec9cd0c9953bac111564122a5c209278 files/1.5.2/libtool-1.5-filter-host-tags.patch 1846
 MD5 6ef585a59058c79f3601bbd7787f2683 files/1.5.2/libtool-1.5-libtool.m4-x86_64.patch 466
@@ -42,7 +42,7 @@ MD5 b81a86ce5e9014e53bd7beb12e46ed12 files/1.5.2/libtool-1.5.2-ltmain_sh-max_cmd
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.9.14 (GNU/Linux)
 
-iD8DBQFB5b5NroRuSHgZdywRAuK5AJ9Gjjx8GpziutL1ocUOD8bFwkqZ+QCeJZdD
-00mkFNz9OqAl3WhIr9N3H7s=
-=V84y
+iD8DBQFB6GGHroRuSHgZdywRAptdAJ0bs/x+fVo52awihRXoxkhj6mCK4gCdEsgc
+cXXU3wZgJfhpCgG6WJ2r6KE=
+=AOi5
 -----END PGP SIGNATURE-----
index d6b8cd0016af29b0cff86f30da27cb02363302d1..9145bc76cdca2830979e5eac61ea8e652d6b698c 100644 (file)
@@ -5,7 +5,7 @@
            CC_quoted="$CC_quoted $arg"
          done
 +          # user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc'
-+          trimedcc="${CC/${host}-}"
++          trimedcc=`echo ${CC} | $SED -e "/${host}-//g"`
            case "$@ " in
 +            "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*)
 +            tagname=CC