summaryrefslogtreecommitdiff
path: root/system/gcc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/gcc/APKBUILD')
-rw-r--r--system/gcc/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/gcc/APKBUILD b/system/gcc/APKBUILD
index 5eaae5163..68771a8aa 100644
--- a/system/gcc/APKBUILD
+++ b/system/gcc/APKBUILD
@@ -343,7 +343,7 @@ package() {
rm -f "$pkgdir"/usr/lib/libffi* "$pkgdir"/usr/share/man/man3/ffi*
find "$pkgdir" -name 'ffi*.h' | xargs rm -f
- local gdblib=${_target:+$CTARGET/}lib
+ local gdblib="${_target:+$CTARGET/}lib"
for i in $(find "$pkgdir"/usr/$gdblib/ -type f -maxdepth 1 -name "*-gdb.py" ); do
mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib
mv "$i" "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib/
@@ -368,7 +368,7 @@ package() {
# linker finds the libs from relocated sysroot
for so in "$pkgdir"/usr/$CTARGET/lib/*.so; do
if [ -h "$so" ]; then
- local _real=$(basename $(readlink "$so"))
+ local _real="$(basename $(readlink "$so"))"
rm -f "$so"
echo "GROUP ($_real)" > "$so"
fi