summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 8e290eb..6fccea6 100755
--- a/build
+++ b/build
@@ -110,7 +110,7 @@ install: build
find "binutils-$${target}.data/usr/lib" -name '*.la' \
-exec rm -f '{}' ';' && \
for dir in "binutils-$${target}.data/usr/lib/"*/; do \
- case "$${dir}" in \
+ case "$${dir#binutils-$${target}.data/usr/lib/}" in \
'$(OPK_HOST_ARCH)/') ;; \
"$${target}/") ;; \
*) rmdir "$${dir}" ;; \