Ver Fonte

Some 'find' commands get a little picky.

"Steven J. Hill" há 18 anos atrás
pai
commit
d3f3d1c7ad
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      toolchain/external-toolchain/ext-tool.mk

+ 1 - 1
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}";			\