summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-02-24 14:05:01 (EST)
committer P. J. McDermott <pjm@nac.net>2014-02-24 14:05:01 (EST)
commit978476229342d8e3af47acceb746ce7429fe83a2 (patch)
tree262d61dc18878a29aa68624755c0a831284827be
parent78eecaeb1eaf23551d85afa18879dab5ef9b24ab (diff)
build: Really fix case construct.
-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}" ;; \