Invert logic, first search for find as most people will build under Linux
authorFlorian Fainelli <florian@openwrt.org>
Fri, 8 Aug 2008 21:48:15 +0000 (21:48 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 8 Aug 2008 21:48:15 +0000 (21:48 +0000)
SVN-Revision: 12248

tools/ipkg-utils/patches/160-find.patch

index 51b101a..04a2ad4 100644 (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() {