From d3f3d1c7ad16a15c397e124dde0b09853f47d1bf Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Thu, 19 Apr 2007 02:04:15 +0000 Subject: Some 'find' commands get a little picky. --- toolchain/external-toolchain/ext-tool.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolchain/external-toolchain/ext-tool.mk') diff --git a/toolchain/external-toolchain/ext-tool.mk b/toolchain/external-toolchain/ext-tool.mk index ab4cbef6c..b643b92fc 100644 --- a/toolchain/external-toolchain/ext-tool.mk +++ b/toolchain/external-toolchain/ext-tool.mk @@ -18,7 +18,7 @@ copy_toolchain_lib_root = \ fi; \ \ LIB="$(strip $1)"; \ - for FILE in `find $${LIB_DIR} -type l -name "$${LIB}*" -maxdepth 1`; do \ + for FILE in `find $${LIB_DIR} -maxdepth 1 -type l -name "$${LIB}*"`; do \ LIB=`basename $${FILE}`; \ while test \! -z "$${LIB}"; do \ echo "copy_toolchain_lib_root lib=$${LIB} dst=$${DST}"; \ -- cgit v1.2.3