Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support/gcc11
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-04-29 13:41:49 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2023-04-29 13:41:49 +0200
commit52fea875e3ececd818b27cc4400dda25e4696051 (patch)
tree2ca8354290e38ea423c7aa8128c9df9c61dceadb /build-support/gcc11
parent1f7a3bd06ad5c186a2344e6bc96f42dd241a5978 (diff)
fixed many more bugs in gcc11
Diffstat (limited to 'build-support/gcc11')
-rw-r--r--build-support/gcc11/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-support/gcc11/PKGBUILD b/build-support/gcc11/PKGBUILD
index 6f8a5b52..8a0bbee5 100644
--- a/build-support/gcc11/PKGBUILD
+++ b/build-support/gcc11/PKGBUILD
@@ -190,8 +190,8 @@ package_gcc11-libs() {
cd gcc-build
make -C $CHOST/libgcc DESTDIR="$pkgdir" install-shared
- if [ -d "$dir" ] && files=$(ls -qAH -- "$dir") && [ -z "$files" ]; then
- echo "${pkgdir}/${_libdir}"/../lib/ is empty"
+ if test [ -d "${pkgdir}/${_libdir}/../lib/" ] && files=$(ls -qAH -- "${pkgdir}/${_libdir}/../lib") && [ -z "$files" ]; then
+ echo "${pkgdir}/${_libdir}/../lib/ is empty"
else
mv "${pkgdir}/${_libdir}"/../lib/* "${pkgdir}/${_libdir}"
fi