From 978476229342d8e3af47acceb746ce7429fe83a2 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 24 Feb 2014 14:05:01 -0500 Subject: build: Really fix case construct. --- 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}" ;; \ -- cgit v0.9.1