summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-12-06 00:44:04 (EST)
committer P. J. McDermott <pjm@nac.net>2013-12-06 00:44:04 (EST)
commit48407110c17e2bde01afbc5f00e7382a21cc02ad (patch)
tree2be313b6d2097f56860d843d1314a679a389587a /build
parent5b4bec7003519caef1c78e3b575a86ff1ee8c324 (diff)
build: Fix case patterns.
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/build b/build
index ca948bf..0f7b0b4 100755
--- a/build
+++ b/build
@@ -109,8 +109,8 @@ install: build
-exec rm -f '{}' ';' && \
for dir in "binutils-$${target}.data/usr/lib/"*/; do \
case "$${dir}" in \
- '$(OPK_HOST_ARCH)') ;; \
- "$${target}") ;; \
+ '$(OPK_HOST_ARCH)/') ;; \
+ "$${target}/") ;; \
*) rmdir "$${dir}" ;; \
esac; \
done; \