Invert logic, first search for find as most people will build under Linux

SVN-Revision: 12248
lede-17.01
Florian Fainelli 2008-08-08 21:48:15 +00:00
parent 65d4a5eaab
commit 80e83652ae
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@
version=1.0
-
+FIND="$(which gfind)"
+FIND="${FIND:-$(which find)}"
+FIND="$(which find)"
+FIND="${FIND:-$(which gfind)}"
TAR="${TAR:-$(which tar)}"
ipkg_extract_value() {